Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 105.8 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7918/0.7931, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001828/0.795, allocations: 0.6209 MB / 1.168 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.7965, allocations: 1.119 MB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.7965, allocations: 0 / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.12e-05/0.7967, allocations: 3.938 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.103e-05/0.7967, allocations: 7.938 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.7972, allocations: 134.8 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.7974, allocations: 87.88 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.7975, allocations: 11.94 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.7976, allocations: 43.89 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.7977, allocations: 27.91 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.7978, allocations: 8 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.043e-05/0.7978, allocations: 23.98 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.7979, allocations: 7.984 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.633e-05/0.798, allocations: 35.84 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.7982, allocations: 87.78 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7982, allocations: 0 / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7982, allocations: 0 / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.7982, allocations: 0 / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004919/0.7987, allocations: 392.6 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.7988, allocations: 12.92 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.7988, allocations: 4.938 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.799, allocations: 182.4 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.7991, allocations: 4.375 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.7991, allocations: 4.375 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.7992, allocations: 46.25 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.7992, allocations: 192 / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.7992, allocations: 7.938 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.7992, allocations: 7.938 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.519e-05/0.7993, allocations: 8 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.7997, allocations: 304.8 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.535e-05/0.7997, allocations: 26.52 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.7997, allocations: 4.859 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-06/0.7998, allocations: 4.062 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.7999, allocations: 59.39 kB / 1.17 GB, free: 416 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.7999, allocations: 0 / 1.17 GB, free: 416 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0001841/0.8001, allocations: 65.59 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.8002, allocations: 55.34 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.8003, allocations: 105.8 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.8003, allocations: 25.7 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.8004, allocations: 96.03 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.8004, allocations: 11.94 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.8005, allocations: 29.7 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8006, allocations: 318.8 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.8007, allocations: 28.23 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.379e-05/0.8008, allocations: 54.55 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.8009, allocations: 80.22 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8009, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002482/0.8011, allocations: 155.2 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.8012, allocations: 37.64 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8012, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.8012, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-05/0.8012, allocations: 3.938 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.8013, allocations: 4 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.8015, allocations: 28.06 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.8015, allocations: 11.98 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.8016, allocations: 117.8 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.8016, allocations: 4 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.8017, allocations: 7.906 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.8017, allocations: 3.984 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8017, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.8017, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.8018, allocations: 161.6 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8018, allocations: 4 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-06/0.8018, allocations: 3.938 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8018, allocations: 4 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.8018, allocations: 3.984 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8018, allocations: 0 / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8019, allocations: 0 / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.758e-05/0.802, allocations: 80.97 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.802, allocations: 81.39 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.802, allocations: 4 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.331e-05/0.802, allocations: 0 / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.8021, allocations: 11.97 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.8021, allocations: 4 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.013e-05/0.8021, allocations: 83.34 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8021, allocations: 0 / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002109/0.8023, allocations: 20 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001469/0.8025, allocations: 103.2 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.8027, allocations: 127.2 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8027, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.318e-05/0.8028, allocations: 12 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.803, allocations: 13.05 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.8033, allocations: 159.6 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.8036, allocations: 0.6846 MB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.8036, allocations: 15.62 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of SimCode: time 1.422e-06/0.8036, allocations: 0 / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of Templates: time 0.002623/0.8063, allocations: 0.9116 MB / 1.174 GB, free: 12.45 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches