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.001017/0.001017, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001057/0.001057, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.003/1.003, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 1.911/1.911, allocations: 377.9 MB / 0.6239 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 177] 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.[0-9,]+.|sigRan.y.[0-9,]+.",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.[0-9,]+.|sigRan.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.812 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.396e-05, allocations: 2.312 kB / 0.812 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001691/0.001705, allocations: 1.602 MB / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.000733/0.002438, allocations: 0.6207 MB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.002497, allocations: 1 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.636e-05/0.002583, allocations: 11.86 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.136e-05/0.002634, allocations: 21.83 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.00299, allocations: 107.7 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.003101, allocations: 107.6 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.758e-05/0.003179, allocations: 9.391 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.003309, allocations: 63.86 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.003363, allocations: 39.89 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.003377, allocations: 4.688 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.003483, allocations: 107.7 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.003516, allocations: 20.83 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.003545, allocations: 19.98 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.003705, allocations: 148.2 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003707, allocations: 0 / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003708, allocations: 0.8438 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.585e-06/0.00371, allocations: 0 / 0.8148 GB, free: 14.64 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.0004321/0.004142, allocations: 483 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.004172, allocations: 8.031 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.004309, allocations: 34.83 kB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.004675, allocations: 148.4 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.004684, allocations: 4.375 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.004695, allocations: 8.359 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.004821, allocations: 87.83 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.004827, allocations: 192 / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.004835, allocations: 1.906 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.004854, allocations: 11.92 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/0.004887, allocations: 15.88 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.005184, allocations: 301.2 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.005245, allocations: 39.05 kB / 0.8159 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.005269, allocations: 20.44 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.005281, allocations: 4 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.6e-05/0.005377, allocations: 73.86 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.654e-06/0.005378, allocations: 1.688 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001676/0.005546, allocations: 89.62 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.005572, allocations: 55.41 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.005655, allocations: 199.5 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.005667, allocations: 25.7 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.005723, allocations: 151.4 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.00574, allocations: 31.73 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.005779, allocations: 40.03 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.005884, allocations: 0.489 MB / 0.817 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.005922, allocations: 41.69 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.005949, allocations: 38.75 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.677e-05/0.006005, allocations: 65.31 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006008, allocations: 3.938 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001168/0.006124, allocations: 149.6 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.006143, allocations: 31.05 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.006148, allocations: 4 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.006158, allocations: 0 / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.006224, allocations: 25.08 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.006226, allocations: 0 / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.006276, allocations: 15.94 kB / 0.8174 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.006285, allocations: 4.531 kB / 0.8174 GB, free: 11.76 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 6.269e-05/0.006348, allocations: 165.4 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.006361, allocations: 11.94 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.006383, allocations: 14.47 kB / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.006391, allocations: 4 kB / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.006393, allocations: 0 / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.006395, allocations: 0 / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.012e-05/0.006486, allocations: 126.5 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.006487, allocations: 4 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.006519, allocations: 11.98 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.006521, allocations: 3.938 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.006528, allocations: 4.75 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.006529, allocations: 0 / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006529, allocations: 1.938 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.006633, allocations: 120.3 kB / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.006646, allocations: 19.81 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.006659, allocations: 0 / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.006698, allocations: 12.8 kB / 0.8178 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.006731, allocations: 15.92 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.006737, allocations: 7.391 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.006777, allocations: 145.6 kB / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006777, allocations: 0 / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001477/0.006925, allocations: 36 kB / 0.818 GB, free: 11.02 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.0001056/0.00703, allocations: 123.1 kB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.007147, allocations: 124.8 kB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.007148, allocations: 0 / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.007184, allocations: 31.75 kB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.007309, allocations: 30.22 kB / 0.8183 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.007734, allocations: 209.7 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.164e-05/0.007766, allocations: 69.98 kB / 0.8186 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.824e-05/0.007804, allocations: 14.72 kB / 0.8186 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.00787, allocations: 78.2 kB / 0.8187 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of SimCode: time 1.022e-06/0.007871, allocations: 0 / 0.8187 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of Templates: time 0.002825/0.0107, allocations: 1.627 MB / 0.8203 GB, free: 8.691 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.972688405774534]