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.001448/0.001448, allocations: 109.4 kB / 16.42 MB, free: 6.469 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.001158/0.001158, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.14 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.471/2.471, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 68.08 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001783/1.004, allocations: 0.6324 MB / 1.168 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001339/1.006, allocations: 1.115 MB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/1.006, allocations: 0 / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.966e-05/1.006, allocations: 3.984 kB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.623e-05/1.006, allocations: 11.94 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/1.007, allocations: 122.7 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/1.007, allocations: 95.88 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.053e-05/1.007, allocations: 3.984 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/1.007, allocations: 43.86 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/1.007, allocations: 35.88 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/1.007, allocations: 8 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/1.007, allocations: 23.98 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/1.007, allocations: 4 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/1.007, allocations: 35.91 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/1.007, allocations: 83.78 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/1.007, allocations: 0 / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.62e-07/1.007, allocations: 0 / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.789e-06/1.007, allocations: 0 / 1.169 GB, free: 1.688 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.0004605/1.008, allocations: 388.6 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/1.008, allocations: 8.922 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/1.008, allocations: 4.938 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/1.008, allocations: 198.3 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/1.008, allocations: 384 / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/1.008, allocations: 8.375 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/1.008, allocations: 46.25 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/1.008, allocations: 192 / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/1.008, allocations: 3.938 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/1.008, allocations: 0 / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.165e-05/1.008, allocations: 15.98 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/1.009, allocations: 304.7 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/1.009, allocations: 22.58 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/1.009, allocations: 8.922 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/1.009, allocations: 7.969 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/1.009, allocations: 51.41 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/1.009, allocations: 0 / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0001717/1.009, allocations: 77.52 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/1.009, allocations: 51.41 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/1.009, allocations: 106 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/1.009, allocations: 29.7 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/1.009, allocations: 88.05 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-05/1.009, allocations: 7.938 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/1.009, allocations: 29.7 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.01, allocations: 322.8 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.866e-05/1.01, allocations: 31.98 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/1.01, allocations: 50.62 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/1.01, allocations: 80.2 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.01, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002334/1.01, allocations: 147.2 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/1.01, allocations: 41.78 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.01, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/1.01, allocations: 3.938 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.579e-05/1.01, allocations: 4 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/1.01, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/1.01, allocations: 27.97 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/1.01, allocations: 7.984 kB / 1.172 GB, free: 15.29 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.0001072/1.01, allocations: 129.7 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/1.01, allocations: 4 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/1.011, allocations: 3.906 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/1.011, allocations: 0 / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.011, allocations: 0 / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/1.011, allocations: 85.02 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/1.011, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.656e-05/1.011, allocations: 3.938 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/1.011, allocations: 3.984 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001272/1.011, allocations: 129 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001654/1.011, allocations: 226.8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.775e-05/1.011, allocations: 20.3 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.098e-05/1.011, allocations: 79.28 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of Backend: time 3.91e-07/1.011, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005244/1.012, allocations: 202.9 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005032/1.012, allocations: 0.5811 MB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of Templates: time 0.003281/1.015, allocations: 1.065 MB / 1.174 GB, free: 12.67 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