Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001643/0.001643, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001795/0.001795, allocations: 193.2 kB / 22.17 MB, free: 5.652 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.467/1.467, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.854/2.854, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.89 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7347, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00288/0.7375, allocations: 1.554 MB / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.7386, allocations: 0.5897 MB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.7387, allocations: 4 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.895e-05/0.7388, allocations: 3.938 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.7388, allocations: 27.78 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.7392, allocations: 83.77 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.7394, allocations: 95.7 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.7395, allocations: 16.22 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.7396, allocations: 51.77 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.7397, allocations: 39.83 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.7397, allocations: 12 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.7399, allocations: 91.84 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.74, allocations: 23.91 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.74, allocations: 43.73 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.7403, allocations: 138.2 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7403, allocations: 0 / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7403, allocations: 0 / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.7403, allocations: 0 / 1.277 GB, free: 1.73 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.0008957/0.7412, allocations: 460.6 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.7412, allocations: 12.03 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.7412, allocations: 12.84 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.7415, allocations: 200.1 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.7415, allocations: 4.375 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.7415, allocations: 4.375 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.7419, allocations: 105.9 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.7419, allocations: 0 / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.7419, allocations: 7.984 kB / 1.277 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.7419, allocations: 4 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.7423, allocations: 91.86 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/0.743, allocations: 348.6 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.7433, allocations: 86.52 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.7435, allocations: 56.88 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.7435, allocations: 0 / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003679/0.7438, allocations: 119.3 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.7438, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0007344/0.7446, allocations: 213.4 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.7446, allocations: 51.41 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.7448, allocations: 140.1 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.7448, allocations: 33.7 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.7449, allocations: 104.1 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.7449, allocations: 31.73 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.745, allocations: 25.7 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7451, allocations: 318.8 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.7453, allocations: 63.95 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.7455, allocations: 64.16 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.7459, allocations: 146.4 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7459, allocations: 96 / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000556/0.7465, allocations: 207.2 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.7465, allocations: 37.69 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.7465, allocations: 0 / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.7465, allocations: 0 / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.7467, allocations: 15.98 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7467, allocations: 4 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.7468, allocations: 15.97 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.7468, allocations: 4 kB / 1.28 GB, free: 14.55 MB / 0.9825 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.0001156/0.747, allocations: 130.6 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.747, allocations: 11.91 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.747, allocations: 16.7 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.747, allocations: 4 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.747, allocations: 0 / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.747, allocations: 0 / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.7472, allocations: 201.5 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7472, allocations: 0 / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.7474, allocations: 19.98 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.7474, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7474, allocations: 7.984 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.7474, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7474, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.7479, allocations: 184.8 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.7479, allocations: 93.02 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.7479, allocations: 0 / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.7481, allocations: 15.98 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.7481, allocations: 11.98 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.7482, allocations: 7.984 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.867e-05/0.7482, allocations: 105 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7482, allocations: 0 / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002479/0.7485, allocations: 35.94 kB / 1.28 GB, free: 13.62 MB / 0.9825 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.0001921/0.7487, allocations: 123.7 kB / 1.28 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005206/0.7492, allocations: 187.2 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7492, allocations: 0 / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.7494, allocations: 63.88 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.7496, allocations: 12 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006028/0.7502, allocations: 238.4 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.7506, allocations: 0.7041 MB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.153e-05/0.7507, allocations: 19.97 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.7507, allocations: 15.42 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.7507, allocations: 0 / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of Templates: time 0.004644/0.7553, allocations: 1.446 MB / 1.283 GB, free: 10.77 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.512309236917645]