Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.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.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008772/0.008772, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001804/0.001804, allocations: 197.9 kB / 16.68 MB, free: 5.969 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.772/2.772, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.91 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3661, allocations: 151.6 MB / 1.167 GB, free: 6.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002843/0.369, allocations: 1.564 MB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.37, allocations: 0.5649 MB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.3701, allocations: 4 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.3702, allocations: 7.922 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.3703, allocations: 19.8 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.3708, allocations: 91.77 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.3709, allocations: 103.6 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3711, allocations: 16.23 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.3712, allocations: 51.77 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.855e-05/0.3713, allocations: 47.83 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.3714, allocations: 8 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.3715, allocations: 83.91 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.3716, allocations: 27.84 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.3717, allocations: 39.73 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3719, allocations: 139.5 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3719, allocations: 3.938 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3719, allocations: 0 / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3719, allocations: 0 / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008632/0.3728, allocations: 456.6 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3729, allocations: 8.031 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.3729, allocations: 12.84 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.3731, allocations: 204.2 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3732, allocations: 384 / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3732, allocations: 8.375 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.3735, allocations: 101.9 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3735, allocations: 4 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3736, allocations: 0 / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.3736, allocations: 7.938 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.3739, allocations: 87.92 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006635/0.3746, allocations: 348.6 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.3749, allocations: 90.52 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.3751, allocations: 60.88 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3752, allocations: 4.062 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003513/0.3755, allocations: 115.3 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.3755, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.000677/0.3762, allocations: 213.5 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3763, allocations: 55.34 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3764, allocations: 139.9 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.3764, allocations: 29.7 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.3765, allocations: 104 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.3765, allocations: 27.84 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.3766, allocations: 29.69 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3767, allocations: 322.8 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.3769, allocations: 59.94 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.3771, allocations: 55.95 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.3775, allocations: 138.5 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3775, allocations: 7.938 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004538/0.378, allocations: 199.2 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.378, allocations: 35.72 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.378, allocations: 0 / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3781, allocations: 8 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.3782, allocations: 15.98 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3782, allocations: 3.938 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.3784, allocations: 20.38 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.3784, allocations: 4 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * 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.0001162/0.3785, allocations: 129.7 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.3786, allocations: 15.84 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.3786, allocations: 16.7 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.3786, allocations: 8 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3786, allocations: 3.984 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3786, allocations: 0 / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.3788, allocations: 197.5 kB / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3788, allocations: 0 / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.3789, allocations: 15.98 kB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.379, allocations: 0 / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.379, allocations: 7.984 kB / 1.172 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.379, allocations: 0 / 1.172 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.379, allocations: 4 kB / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.3794, allocations: 188.8 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.3795, allocations: 81.06 kB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3795, allocations: 4 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.3796, allocations: 19.98 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.3797, allocations: 7.984 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.3797, allocations: 7.984 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.536e-05/0.3798, allocations: 113.1 kB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3798, allocations: 0 / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002815/0.3801, allocations: 39.92 kB / 1.173 GB, free: 15.96 MB / 0.9356 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001786/0.3803, allocations: 115.1 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004864/0.3808, allocations: 191.2 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3808, allocations: 0 / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.381, allocations: 63.92 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.3812, allocations: 15.8 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.3819, allocations: 233.9 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.3822, allocations: 0.7004 MB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.953e-05/0.3822, allocations: 11.98 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.3823, allocations: 19.36 kB / 1.174 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.3823, allocations: 3.938 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of Templates: time 0.004203/0.3865, allocations: 1.423 MB / 1.176 GB, free: 13.14 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches