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.00122/0.00122, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001361/0.001361, allocations: 169 kB / 24.28 MB, free: 284 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.6 MB, free: 5.641 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.796/1.796, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] 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.593e-06/1.593e-06, allocations: 0 / 0.8115 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.196e-05, allocations: 3.469 kB / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002681/0.002703, allocations: 1.604 MB / 0.813 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003848, allocations: 0.6262 MB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.454e-05/0.003933, allocations: 3.938 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.004045, allocations: 7.938 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.803e-05/0.004113, allocations: 28.88 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.004612, allocations: 103.7 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.004793, allocations: 101 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.004911, allocations: 12.22 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.005117, allocations: 67.81 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.005209, allocations: 37.58 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.005233, allocations: 4 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.005399, allocations: 99.83 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.011e-05/0.005449, allocations: 19.92 kB / 0.8141 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.005501, allocations: 23.92 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.005757, allocations: 156.8 kB / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.00576, allocations: 4 kB / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.11e-07/0.005761, allocations: 0 / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.005765, allocations: 0 / 0.8143 GB, free: 15.22 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.0006791/0.006445, allocations: 480.2 kB / 0.8148 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.006484, allocations: 8.031 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.006738, allocations: 28.88 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.00694, allocations: 149 kB / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.006955, allocations: 8.312 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.006975, allocations: 8.375 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.007206, allocations: 82.84 kB / 0.815 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.007222, allocations: 4.172 kB / 0.815 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.007235, allocations: 384 / 0.815 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.007267, allocations: 8.656 kB / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.007351, allocations: 23.92 kB / 0.8151 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.007911, allocations: 321.8 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.008028, allocations: 43.05 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.008078, allocations: 15.62 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.008095, allocations: 4 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.008268, allocations: 89.73 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.883e-06/0.00827, allocations: 1.312 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002859/0.008556, allocations: 85.62 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.008599, allocations: 55.34 kB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.008737, allocations: 203.7 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.008757, allocations: 30.86 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.008836, allocations: 146.8 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.008865, allocations: 27.75 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/0.008927, allocations: 35.89 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.009067, allocations: 0.497 MB / 0.8166 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.009149, allocations: 41.69 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.774e-05/0.009207, allocations: 42.55 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.009324, allocations: 69.36 kB / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009326, allocations: 0 / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002275/0.009554, allocations: 154.8 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.009591, allocations: 41.69 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.009597, allocations: 0 / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.009613, allocations: 0 / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.009738, allocations: 16.83 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.009745, allocations: 4.062 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.218e-05/0.009838, allocations: 18.16 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.009852, allocations: 4 kB / 0.8169 GB, free: 12.28 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 9.676e-05/0.009949, allocations: 168.5 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.009975, allocations: 7.953 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.01001, allocations: 16.77 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.01002, allocations: 6.125 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.01003, allocations: 4 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.01003, allocations: 0 / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.01017, allocations: 148.5 kB / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01017, allocations: 0 / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.588e-05/0.01025, allocations: 16.48 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01025, allocations: 5.672 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.01027, allocations: 3.984 kB / 0.8173 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01027, allocations: 0 / 0.8173 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01027, allocations: 0 / 0.8173 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.01047, allocations: 124.2 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.01049, allocations: 12.39 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.01052, allocations: 5.344 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.0106, allocations: 11.98 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.01066, allocations: 7.984 kB / 0.8175 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.01067, allocations: 8.609 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.141e-05/0.01076, allocations: 144.9 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01076, allocations: 4.656 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002716/0.01103, allocations: 32 kB / 0.8176 GB, free: 11.51 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.0001833/0.01121, allocations: 127.2 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.01144, allocations: 136.6 kB / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01144, allocations: 0 / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.622e-05/0.01151, allocations: 31.66 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.01175, allocations: 19.92 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007055/0.01246, allocations: 212.9 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.409e-05/0.0125, allocations: 63.34 kB / 0.8182 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.163e-05/0.01257, allocations: 13.02 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.01262, allocations: 21.55 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.01262, allocations: 0 / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of Templates: time 0.003935/0.01656, allocations: 1.497 MB / 0.8197 GB, free: 9.359 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.958393367007375]