Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001155/0.001155, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001331/0.001331, allocations: 169 kB / 23.02 MB, free: 1.551 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.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.09/2.09, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 1.203 kB / 0.8781 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.655e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00227/0.002296, allocations: 1.615 MB / 0.8797 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008835/0.00318, allocations: 0.6253 MB / 0.8803 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.003246, allocations: 4.688 kB / 0.8803 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.003355, allocations: 11.92 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.003404, allocations: 21.05 kB / 0.8803 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.003859, allocations: 109 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.00401, allocations: 107.6 kB / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.004106, allocations: 8.234 kB / 0.8806 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.004278, allocations: 68.83 kB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.197e-05/0.00435, allocations: 39.89 kB / 0.8807 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.004371, allocations: 8 kB / 0.8807 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.004501, allocations: 96.92 kB / 0.8808 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.004546, allocations: 19.92 kB / 0.8808 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.004592, allocations: 23.92 kB / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.004805, allocations: 148.6 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.004808, allocations: 0 / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.232e-06/0.004809, allocations: 0 / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004813, allocations: 1.125 kB / 0.8809 GB, free: 3.504 MB / 0.8386 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.0007375/0.005551, allocations: 478.5 kB / 0.8814 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.005588, allocations: 8.031 kB / 0.8814 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.005776, allocations: 41.31 kB / 0.8814 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.005944, allocations: 146.1 kB / 0.8816 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.005957, allocations: 8.359 kB / 0.8816 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.005975, allocations: 12.31 kB / 0.8816 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.006146, allocations: 80.09 kB / 0.8817 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.006155, allocations: 192 / 0.8817 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.006167, allocations: 4.375 kB / 0.8817 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.006194, allocations: 9.031 kB / 0.8817 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.006248, allocations: 11.98 kB / 0.8817 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.00668, allocations: 324.3 kB / 0.882 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.358e-05/0.006774, allocations: 40.66 kB / 0.8821 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.006812, allocations: 23.61 kB / 0.8821 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.006828, allocations: 0 / 0.8821 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.006948, allocations: 85.05 kB / 0.8822 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.00695, allocations: 2.969 kB / 0.8822 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002219/0.007172, allocations: 93.61 kB / 0.8823 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.007202, allocations: 55.34 kB / 0.8823 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.955e-05/0.007302, allocations: 196 kB / 0.8825 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.007317, allocations: 29.69 kB / 0.8825 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.007383, allocations: 154.8 kB / 0.8827 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.007402, allocations: 27.73 kB / 0.8827 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.007445, allocations: 35.36 kB / 0.8827 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.007564, allocations: 0.4977 MB / 0.8832 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.007623, allocations: 37.7 kB / 0.8833 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.202e-05/0.007665, allocations: 49.73 kB / 0.8833 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/0.007744, allocations: 73.41 kB / 0.8834 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.007747, allocations: 4.625 kB / 0.8834 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001553/0.007902, allocations: 145 kB / 0.8835 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.007932, allocations: 35.36 kB / 0.8835 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.007937, allocations: 0 / 0.8835 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.00795, allocations: 0 / 0.8835 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.274e-05/0.008043, allocations: 15.98 kB / 0.8836 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.008049, allocations: 4.906 kB / 0.8836 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.00811, allocations: 15.98 kB / 0.8836 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.008119, allocations: 0.625 kB / 0.8836 GB, free: 0.5664 MB / 0.8386 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 8.146e-05/0.0082, allocations: 172.5 kB / 0.8837 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.008218, allocations: 19.84 kB / 0.8838 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.008245, allocations: 8.781 kB / 0.8838 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.008258, allocations: 7.984 kB / 0.8838 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.008261, allocations: 0 / 0.8838 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.008264, allocations: 0 / 0.8838 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.008367, allocations: 140.5 kB / 0.8839 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.008369, allocations: 0 / 0.8839 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.008418, allocations: 27.91 kB / 0.8839 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.00842, allocations: 0 / 0.8839 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.008429, allocations: 4 kB / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.00843, allocations: 0 / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008431, allocations: 0 / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.00859, allocations: 132.7 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.008604, allocations: 15.78 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.008624, allocations: 4 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.637e-05/0.00867, allocations: 7.984 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.008718, allocations: 11.98 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.008725, allocations: 4 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.00878, allocations: 153.6 kB / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.00878, allocations: 4 kB / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000172/0.008952, allocations: 32 kB / 0.8843 GB, free: 15.77 MB / 0.8542 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.0001387/0.009091, allocations: 119.2 kB / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001693/0.00926, allocations: 132.7 kB / 0.8845 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009261, allocations: 4 kB / 0.8845 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/0.00931, allocations: 31.66 kB / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.009478, allocations: 20.44 kB / 0.8846 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005665/0.01004, allocations: 214.8 kB / 0.8848 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.578e-05/0.01008, allocations: 68.97 kB / 0.8849 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.493e-05/0.01012, allocations: 7.984 kB / 0.8849 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.01016, allocations: 20.5 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/0.01017, allocations: 4 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.003328/0.01349, allocations: 1.5 MB / 0.8864 GB, free: 13.6 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.493050936143845]