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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 249.4 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 443.5 MB / 0.7304 GB, free: 13.97 MB / 0.5763 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.89 kB / 1.059 GB, free: 476 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4322, allocations: 160.7 MB / 1.216 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.005404/0.4376, allocations: 1.557 MB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.4394, allocations: 0.5928 MB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.4395, allocations: 0 / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.4397, allocations: 11.86 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.573e-05/0.4398, allocations: 15.86 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.4404, allocations: 103.7 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000268/0.4407, allocations: 91.7 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.4408, allocations: 12.23 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.441, allocations: 59.75 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.4412, allocations: 39.83 kB / 1.219 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.4412, allocations: 8 kB / 1.219 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.4415, allocations: 87.86 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.679e-05/0.4416, allocations: 19.91 kB / 1.219 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.698e-05/0.4417, allocations: 47.72 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.442, allocations: 139.5 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.442, allocations: 0 / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.044e-06/0.442, allocations: 4 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.4421, allocations: 0 / 1.219 GB, free: 12.62 MB / 0.9669 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.001341/0.4434, allocations: 452.6 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.4434, allocations: 12.03 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.498e-05/0.4435, allocations: 16.83 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.4439, allocations: 194.4 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.4439, allocations: 4.375 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.4439, allocations: 8.375 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.4445, allocations: 105.9 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4445, allocations: 0 / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.4445, allocations: 0 / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.4445, allocations: 4 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005703/0.4451, allocations: 95.84 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.4463, allocations: 344.7 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.4468, allocations: 86.5 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.4471, allocations: 60.88 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.4471, allocations: 7.938 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006026/0.4477, allocations: 111.4 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 2.494e-06/0.4478, allocations: 4.047 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.001151/0.4489, allocations: 221.3 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.449, allocations: 55.39 kB / 1.221 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.4492, allocations: 133.8 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.4492, allocations: 29.7 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.4493, allocations: 108 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.4494, allocations: 19.86 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.4495, allocations: 29.7 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.4497, allocations: 322.8 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.45, allocations: 59.95 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.4503, allocations: 51.95 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000634/0.451, allocations: 154.5 kB / 1.221 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.451, allocations: 0 / 1.221 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007817/0.4518, allocations: 199.2 kB / 1.222 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/0.4518, allocations: 37.7 kB / 1.222 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.4518, allocations: 0 / 1.222 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4518, allocations: 0 / 1.222 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.4521, allocations: 27.91 kB / 1.222 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4521, allocations: 4 kB / 1.222 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.4523, allocations: 19.86 kB / 1.222 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.4523, allocations: 4 kB / 1.222 GB, free: 9.453 MB / 0.9669 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.0001727/0.4525, allocations: 121.8 kB / 1.222 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.4526, allocations: 11.91 kB / 1.222 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.4526, allocations: 16.72 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/0.4526, allocations: 4 kB / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.4526, allocations: 7.984 kB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4526, allocations: 0 / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.453, allocations: 193.6 kB / 1.222 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.453, allocations: 0 / 1.222 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.4532, allocations: 16.44 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4532, allocations: 4 kB / 1.222 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.4532, allocations: 0 / 1.222 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4532, allocations: 80 / 1.222 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.4532, allocations: 3.984 kB / 1.222 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007731/0.454, allocations: 192.8 kB / 1.222 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.695e-05/0.4541, allocations: 89 kB / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.4541, allocations: 3.984 kB / 1.222 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.4543, allocations: 15.97 kB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/0.4544, allocations: 15.98 kB / 1.222 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.4545, allocations: 4 kB / 1.222 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000139/0.4546, allocations: 113.4 kB / 1.222 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.4546, allocations: 0 / 1.222 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004438/0.455, allocations: 39.94 kB / 1.222 GB, free: 8.523 MB / 0.9669 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.0002931/0.4553, allocations: 115.2 kB / 1.223 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008079/0.4561, allocations: 187.2 kB / 1.223 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4561, allocations: 0 / 1.223 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.4565, allocations: 59.89 kB / 1.223 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.4568, allocations: 21.88 kB / 1.223 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008735/0.4577, allocations: 227.5 kB / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.4582, allocations: 0.7061 MB / 1.224 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.4584, allocations: 11.98 kB / 1.224 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.696e-05/0.4584, allocations: 19.38 kB / 1.224 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.4584, allocations: 0 / 1.224 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of Templates: time 0.00769/0.4661, allocations: 1.448 MB / 1.225 GB, free: 5.676 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.58658757712692]