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.001484/0.001484, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001511/0.001511, allocations: 161 kB / 24.17 MB, free: 332 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.018/1.018, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.986/1.986, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.723e-06/1.723e-06, allocations: 0 / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.487e-05, allocations: 2.969 kB / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002248/0.002273, allocations: 1.66 MB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000924/0.003197, allocations: 0.6346 MB / 0.7623 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.795e-05/0.003265, allocations: 7.938 kB / 0.7623 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.003369, allocations: 8.531 kB / 0.7623 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.003426, allocations: 30.31 kB / 0.7623 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.003831, allocations: 92.34 kB / 0.7624 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.003972, allocations: 98.38 kB / 0.7625 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.796e-05/0.00406, allocations: 21.42 kB / 0.7625 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.004215, allocations: 67.81 kB / 0.7626 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.004279, allocations: 35.88 kB / 0.7626 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.004296, allocations: 9.062 kB / 0.7626 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.004442, allocations: 103.8 kB / 0.7627 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.004485, allocations: 19.91 kB / 0.7627 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.004525, allocations: 28.92 kB / 0.7628 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.004716, allocations: 151.5 kB / 0.7629 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004719, allocations: 4.438 kB / 0.7629 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004719, allocations: 0 / 0.7629 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.004724, allocations: 0.75 kB / 0.7629 GB, free: 3.738 MB / 0.7136 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.0004526/0.005176, allocations: 350.8 kB / 0.7632 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.005207, allocations: 12.78 kB / 0.7633 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.005368, allocations: 30.34 kB / 0.7633 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.005524, allocations: 134.4 kB / 0.7634 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.005535, allocations: 4.375 kB / 0.7634 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.005547, allocations: 9.625 kB / 0.7634 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.005694, allocations: 89.7 kB / 0.7635 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.005702, allocations: 192 / 0.7635 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.005711, allocations: 1.625 kB / 0.7635 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.005733, allocations: 7.938 kB / 0.7635 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.899e-05/0.005772, allocations: 11.98 kB / 0.7635 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.006091, allocations: 199.1 kB / 0.7637 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/0.006169, allocations: 74.47 kB / 0.7638 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.006193, allocations: 13.36 kB / 0.7638 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.006207, allocations: 2.875 kB / 0.7638 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.006323, allocations: 90.25 kB / 0.7639 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.006325, allocations: 3.938 kB / 0.7639 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001395/0.006464, allocations: 69.61 kB / 0.764 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.006494, allocations: 59.39 kB / 0.764 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.006566, allocations: 134.7 kB / 0.7641 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.006582, allocations: 33.69 kB / 0.7642 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.006623, allocations: 99.05 kB / 0.7643 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.00664, allocations: 27.78 kB / 0.7643 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.006681, allocations: 29.69 kB / 0.7643 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.006765, allocations: 322.8 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.006802, allocations: 40.52 kB / 0.7647 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.006831, allocations: 33.7 kB / 0.7647 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.35e-05/0.006894, allocations: 72.17 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.006896, allocations: 0 / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001081/0.007004, allocations: 134.5 kB / 0.7649 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.007036, allocations: 33.69 kB / 0.7649 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.007041, allocations: 0 / 0.7649 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.007055, allocations: 4 kB / 0.7649 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.007136, allocations: 20.64 kB / 0.765 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.007139, allocations: 0 / 0.765 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.007195, allocations: 21.72 kB / 0.765 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.007205, allocations: 7.938 kB / 0.765 GB, free: 1.41 MB / 0.7136 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.357e-05/0.007268, allocations: 112.6 kB / 0.7651 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.007284, allocations: 22.36 kB / 0.7651 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.007306, allocations: 8.781 kB / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.007318, allocations: 11.97 kB / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007319, allocations: 0 / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007322, allocations: 0 / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.468e-05/0.007407, allocations: 85.86 kB / 0.7652 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007409, allocations: 0 / 0.7652 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.007448, allocations: 18.45 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.00745, allocations: 3.938 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.007458, allocations: 7.984 kB / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.007459, allocations: 0 / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.00746, allocations: 0 / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.576e-05/0.007556, allocations: 90.7 kB / 0.7653 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.007569, allocations: 16.91 kB / 0.7653 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.007586, allocations: 3.938 kB / 0.7654 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.641e-05/0.007632, allocations: 12.92 kB / 0.7654 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.007674, allocations: 15.97 kB / 0.7654 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.00768, allocations: 0 / 0.7654 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.649e-05/0.007706, allocations: 37.36 kB / 0.7654 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007706, allocations: 0 / 0.7654 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001531/0.007859, allocations: 39.94 kB / 0.7655 GB, free: 0.8906 MB / 0.7136 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.0001307/0.00799, allocations: 104.3 kB / 0.7656 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.008123, allocations: 124.3 kB / 0.7657 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.008129, allocations: 8 kB / 0.7657 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/0.008168, allocations: 24.84 kB / 0.7657 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.008281, allocations: 15.92 kB / 0.7657 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.008801, allocations: 217.9 kB / 0.7659 GB, free: 356 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.637e-05/0.008838, allocations: 67.33 kB / 0.766 GB, free: 268 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.198e-05/0.00888, allocations: 5.062 kB / 0.766 GB, free: 264 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.008947, allocations: 67.36 kB / 0.7661 GB, free: 196 kB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/0.008948, allocations: 0.6562 kB / 0.7661 GB, free: 196 kB / 0.7136 GB Notification: Performance of Templates: time 0.003222/0.01217, allocations: 1.483 MB / 0.7675 GB, free: 14.78 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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: 5.049398080911487]