Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001515/0.001515, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001631/0.001631, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.494/1.494, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.931/2.931, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.025e-05, allocations: 10 kB / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002974/0.003004, allocations: 1.56 MB / 0.8123 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.004334, allocations: 0.6101 MB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.004399, allocations: 0 / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.004534, allocations: 20.58 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.138e-05/0.004585, allocations: 9.562 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.005068, allocations: 115.5 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.005257, allocations: 103.6 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.005357, allocations: 9.766 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.005577, allocations: 67.8 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.005672, allocations: 35.91 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.0057, allocations: 8 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.005872, allocations: 93.27 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.005928, allocations: 23.91 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.005993, allocations: 31.84 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.006292, allocations: 173.2 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.006295, allocations: 0 / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.21e-07/0.006296, allocations: 0 / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.0063, allocations: 0 / 0.8135 GB, free: 15.3 MB / 0.7761 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.0008906/0.00719, allocations: 380.6 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.007233, allocations: 12.03 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.007554, allocations: 38.38 kB / 0.814 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.007816, allocations: 143.8 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.007829, allocations: 2.969 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.00785, allocations: 8.375 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.008188, allocations: 102.2 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.0082, allocations: 4.172 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.008217, allocations: 4.375 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.008241, allocations: 7.938 kB / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003673/0.008609, allocations: 85.61 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00068/0.009289, allocations: 286.1 kB / 0.8146 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.009639, allocations: 83.61 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.009844, allocations: 57.59 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.009863, allocations: 5.266 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.0102, allocations: 115.2 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.0102, allocations: 0.5 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0007893/0.01099, allocations: 211.4 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.01104, allocations: 56.25 kB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.01121, allocations: 145.8 kB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.01125, allocations: 31.92 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.01135, allocations: 100 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.01138, allocations: 27.8 kB / 0.8154 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-05/0.01146, allocations: 33.77 kB / 0.8154 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.01166, allocations: 326.8 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.0119, allocations: 84.38 kB / 0.8158 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.01213, allocations: 81.66 kB / 0.8159 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.01255, allocations: 148 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01255, allocations: 0 / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005721/0.01313, allocations: 227.3 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.01317, allocations: 37.7 kB / 0.8163 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01318, allocations: 3.938 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.0132, allocations: 0 / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.01337, allocations: 19.97 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.01338, allocations: 5.359 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.01353, allocations: 23.88 kB / 0.8163 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.01356, allocations: 8.906 kB / 0.8163 GB, free: 12.27 MB / 0.7761 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.0001307/0.01369, allocations: 121.8 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.01372, allocations: 16.61 kB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/0.01376, allocations: 12.77 kB / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.01378, allocations: 11.69 kB / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01378, allocations: 0 / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01379, allocations: 0 / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.01398, allocations: 145.2 kB / 0.8166 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01398, allocations: 0 / 0.8166 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.01411, allocations: 15.97 kB / 0.8166 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01411, allocations: 4 kB / 0.8166 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01413, allocations: 0 / 0.8166 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01413, allocations: 0 / 0.8166 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01413, allocations: 1.719 kB / 0.8166 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.01464, allocations: 193.3 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.01467, allocations: 12.88 kB / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.01469, allocations: 4 kB / 0.8168 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.01482, allocations: 13.11 kB / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.01489, allocations: 11.97 kB / 0.8169 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.0149, allocations: 5.125 kB / 0.8169 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.473e-05/0.015, allocations: 107.3 kB / 0.817 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.015, allocations: 0 / 0.817 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005073/0.0155, allocations: 40.98 kB / 0.817 GB, free: 11.52 MB / 0.7761 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.0002239/0.01573, allocations: 123.9 kB / 0.8171 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005745/0.0163, allocations: 211.5 kB / 0.8173 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.0163, allocations: 0 / 0.8173 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.01654, allocations: 59.89 kB / 0.8174 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.01678, allocations: 21.64 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006731/0.01745, allocations: 221.2 kB / 0.8176 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.01756, allocations: 90.44 kB / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.595e-05/0.01765, allocations: 21.03 kB / 0.8177 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.01771, allocations: 20.48 kB / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.01771, allocations: 0 / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.005276/0.02299, allocations: 1.495 MB / 0.8192 GB, free: 9.23 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.850166509044357]