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.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.001873/0.001873, allocations: 80.25 kB / 19.18 MB, free: 2.527 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.001573/0.001573, allocations: 164.7 kB / 22.46 MB, free: 5.359 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.515/1.515, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.802/2.802, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 1.222e-06/1.222e-06, allocations: 0 / 0.9509 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.725e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002737/0.002764, allocations: 1.556 MB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.003936, allocations: 0.6083 MB / 0.953 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.004, allocations: 4 kB / 0.953 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.004104, allocations: 15.86 kB / 0.9531 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.399e-05/0.004158, allocations: 11.81 kB / 0.9531 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.0046, allocations: 115.5 kB / 0.9532 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.004777, allocations: 103.6 kB / 0.9533 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.004872, allocations: 12.23 kB / 0.9533 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.005064, allocations: 67.8 kB / 0.9534 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.22e-05/0.005146, allocations: 31.91 kB / 0.9534 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.005171, allocations: 8 kB / 0.9534 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.005333, allocations: 103.8 kB / 0.9535 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.005384, allocations: 19.92 kB / 0.9535 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.005442, allocations: 35.89 kB / 0.9535 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.005702, allocations: 163.6 kB / 0.9537 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005704, allocations: 0 / 0.9537 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005705, allocations: 3.938 kB / 0.9537 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.005714, allocations: 0 / 0.9537 GB, free: 8.766 MB / 0.8575 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.0007858/0.006499, allocations: 383.5 kB / 0.9541 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.006533, allocations: 12.03 kB / 0.9541 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.006809, allocations: 36.81 kB / 0.9541 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.007057, allocations: 135.8 kB / 0.9542 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.007072, allocations: 4.375 kB / 0.9542 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.007096, allocations: 8.359 kB / 0.9543 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.007422, allocations: 98.19 kB / 0.9543 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.007431, allocations: 192 / 0.9543 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.007445, allocations: 384 / 0.9543 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.007469, allocations: 15.92 kB / 0.9544 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.007826, allocations: 87.92 kB / 0.9544 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.008464, allocations: 280.3 kB / 0.9547 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.008815, allocations: 86.52 kB / 0.9548 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.009018, allocations: 64.81 kB / 0.9549 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.009036, allocations: 0 / 0.9549 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.009341, allocations: 119.2 kB / 0.955 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.009342, allocations: 112 / 0.955 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0007132/0.01006, allocations: 213.4 kB / 0.9552 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.01011, allocations: 55.41 kB / 0.9552 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.01025, allocations: 135.7 kB / 0.9554 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.01028, allocations: 29.98 kB / 0.9554 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.01038, allocations: 104.1 kB / 0.9555 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.01041, allocations: 35.8 kB / 0.9555 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.01047, allocations: 29.64 kB / 0.9555 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.01064, allocations: 326.8 kB / 0.9559 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.01088, allocations: 89.66 kB / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.01109, allocations: 81.66 kB / 0.956 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.01148, allocations: 146.5 kB / 0.9562 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01149, allocations: 3.938 kB / 0.9562 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005222/0.01201, allocations: 225 kB / 0.9564 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.01206, allocations: 33.7 kB / 0.9564 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01206, allocations: 0 / 0.9564 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.01208, allocations: 0 / 0.9564 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.01222, allocations: 23.91 kB / 0.9564 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.01223, allocations: 0 / 0.9564 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.01237, allocations: 19.92 kB / 0.9565 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.01239, allocations: 8 kB / 0.9565 GB, free: 5.719 MB / 0.8575 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.0001171/0.0125, allocations: 129.7 kB / 0.9566 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.01253, allocations: 11.91 kB / 0.9566 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.01256, allocations: 12.78 kB / 0.9566 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.01258, allocations: 7.984 kB / 0.9566 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01258, allocations: 0 / 0.9566 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.01259, allocations: 0 / 0.9566 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.01275, allocations: 141.2 kB / 0.9568 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01275, allocations: 0 / 0.9568 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.01287, allocations: 19.97 kB / 0.9568 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01287, allocations: 4 kB / 0.9568 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.01289, allocations: 4 kB / 0.9568 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.01289, allocations: 0 / 0.9568 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01289, allocations: 0 / 0.9568 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.01336, allocations: 184.9 kB / 0.957 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.01338, allocations: 11.89 kB / 0.957 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.01341, allocations: 4 kB / 0.957 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.01354, allocations: 24.16 kB / 0.957 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.0136, allocations: 7.984 kB / 0.957 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01361, allocations: 11.92 kB / 0.957 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.192e-05/0.01369, allocations: 108.8 kB / 0.9571 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01369, allocations: 0 / 0.9571 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000299/0.01399, allocations: 35.94 kB / 0.9572 GB, free: 4.957 MB / 0.8575 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.0002088/0.0142, allocations: 125.5 kB / 0.9573 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005405/0.01474, allocations: 212.9 kB / 0.9575 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01474, allocations: 0 / 0.9575 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.01496, allocations: 60.09 kB / 0.9575 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.01518, allocations: 19 kB / 0.9575 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.01577, allocations: 221.7 kB / 0.9578 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.955e-05/0.01587, allocations: 89.44 kB / 0.9578 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.555e-05/0.01594, allocations: 11.98 kB / 0.9579 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.01599, allocations: 16.44 kB / 0.9579 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of SimCode: time 3.6e-07/0.01599, allocations: 0 / 0.9579 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of Templates: time 0.004777/0.02076, allocations: 1.491 MB / 0.9593 GB, free: 2.676 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.961681328713894]