Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002373/0.002373, allocations: 210.6 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.502/3.502, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 73.64 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4309, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002995/0.4339, allocations: 1.552 MB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.4351, allocations: 0.6087 MB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.004e-05/0.4351, allocations: 4 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.4353, allocations: 11.86 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.724e-05/0.4353, allocations: 19.8 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.4358, allocations: 107.7 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.4359, allocations: 99.69 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.436, allocations: 20.22 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.4362, allocations: 47.84 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/0.4363, allocations: 43.75 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.4363, allocations: 8 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.4365, allocations: 95.84 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.4365, allocations: 15.92 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.489e-05/0.4366, allocations: 39.86 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.4369, allocations: 151.3 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4369, allocations: 4 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4369, allocations: 0 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.4369, allocations: 7.938 kB / 1.367 GB, free: 10.72 MB / 1.061 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.0007872/0.4377, allocations: 385.1 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.4377, allocations: 8.031 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.438, allocations: 32.86 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.4382, allocations: 142.4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.4382, allocations: 384 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.4383, allocations: 8.375 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.4386, allocations: 113.9 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4386, allocations: 3.938 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.4386, allocations: 0 / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.4386, allocations: 4 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.439, allocations: 87.91 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.4396, allocations: 276.4 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.4399, allocations: 90.45 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.4401, allocations: 56.98 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.4401, allocations: 3.938 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.4404, allocations: 123.3 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.4404, allocations: 0 / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.000679/0.4411, allocations: 197.5 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.4411, allocations: 63.39 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.4413, allocations: 141.8 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.4413, allocations: 33.7 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.941e-05/0.4414, allocations: 108 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.4414, allocations: 23.81 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.4415, allocations: 25.7 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4416, allocations: 326.8 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.4419, allocations: 81.66 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.4421, allocations: 85.88 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.4424, allocations: 150.6 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4424, allocations: 3.938 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005281/0.443, allocations: 229 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.443, allocations: 37.62 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.443, allocations: 0 / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.443, allocations: 0 / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.4432, allocations: 23.92 kB / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.4432, allocations: 4 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.4433, allocations: 23.86 kB / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.4433, allocations: 7.938 kB / 1.369 GB, free: 7.668 MB / 1.061 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.0001313/0.4435, allocations: 117.8 kB / 1.369 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.4435, allocations: 11.95 kB / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.4435, allocations: 12.7 kB / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.4435, allocations: 4 kB / 1.369 GB, free: 7.508 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4436, allocations: 4 kB / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4436, allocations: 0 / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.4437, allocations: 141.2 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4437, allocations: 4 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.4438, allocations: 15.98 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.4438, allocations: 4 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4439, allocations: 0 / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4439, allocations: 3.984 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4439, allocations: 0 / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.4443, allocations: 188.8 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.4444, allocations: 7.953 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.4444, allocations: 8 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.4445, allocations: 11.98 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.4446, allocations: 15.97 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.4446, allocations: 0 / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.172e-05/0.4447, allocations: 115.2 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4447, allocations: 0 / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002621/0.4449, allocations: 39.94 kB / 1.37 GB, free: 6.91 MB / 1.061 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.0002001/0.4451, allocations: 127.1 kB / 1.37 GB, free: 6.777 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.4457, allocations: 209 kB / 1.37 GB, free: 6.555 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4457, allocations: 0 / 1.37 GB, free: 6.555 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.4459, allocations: 63.89 kB / 1.37 GB, free: 6.492 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.4461, allocations: 11.98 kB / 1.37 GB, free: 6.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.4467, allocations: 224.4 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.608e-05/0.4468, allocations: 85.31 kB / 1.371 GB, free: 6.133 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.26e-05/0.4469, allocations: 15.98 kB / 1.371 GB, free: 6.117 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.4469, allocations: 19.42 kB / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.4469, allocations: 0 / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of Templates: time 0.004913/0.4518, allocations: 1.544 MB / 1.372 GB, free: 4.582 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.667162615805864]