Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 249.3 MB / 261.8 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009977/0.0009977, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007979/0.0007976, allocations: 89.39 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.112e-05/4.114e-05, allocations: 0 / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1734, allocations: 106.3 MB / 0.8918 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6358/0.8092, allocations: 133.3 MB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.8095, allocations: 72.27 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009903/0.8194, allocations: 3.487 MB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8194, allocations: 3.938 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.8195, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.6511 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.0005762/0.82, allocations: 446.9 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.8201, allocations: 8.031 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.8201, allocations: 7.906 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.8203, allocations: 201.7 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.8204, allocations: 4 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.8204, allocations: 8 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.8206, allocations: 82.97 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.8206, allocations: 4 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.8206, allocations: 3.938 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.8206, allocations: 0 / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.8207, allocations: 41.61 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.8213, allocations: 374.3 kB / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.8215, allocations: 54.56 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.8215, allocations: 34.3 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.8216, allocations: 0 / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.8217, allocations: 89.75 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 3.085e-06/0.8217, allocations: 4 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002359/0.822, allocations: 107.5 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.822, allocations: 55.47 kB / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.8221, allocations: 126.7 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.8222, allocations: 32.52 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.8222, allocations: 106.3 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.8223, allocations: 27.58 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.8223, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.89e-05/0.8224, allocations: 318.6 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.8224, allocations: 34 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/0.8225, allocations: 38.73 kB / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.119e-05/0.8226, allocations: 61 kB / 1.028 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8226, allocations: 0 / 1.028 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002238/0.8228, allocations: 159.6 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.8229, allocations: 33.7 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.8229, allocations: 0 / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.8229, allocations: 0 / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.8231, allocations: 27.97 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.8231, allocations: 7.938 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.8232, allocations: 27.28 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.8233, allocations: 4 kB / 1.028 GB, free: 11.92 MB / 0.6511 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.148e-05/0.8233, allocations: 112.9 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.8234, allocations: 11.86 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.8236, allocations: 123.6 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.8236, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.8236, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.8236, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.8238, allocations: 205.1 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.8238, allocations: 4 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.8239, allocations: 19.67 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.8239, allocations: 4 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.824, allocations: 11.94 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.824, allocations: 0 / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.824, allocations: 3.938 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.8242, allocations: 134.7 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.8242, allocations: 89 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.8243, allocations: 0 / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.8244, allocations: 23.94 kB / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.8245, allocations: 19.28 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.8245, allocations: 4 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.899e-05/0.8246, allocations: 105.2 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8246, allocations: 0 / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002347/0.8248, allocations: 43.44 kB / 1.029 GB, free: 11 MB / 0.6511 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00019/0.825, allocations: 126.5 kB / 1.029 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.8253, allocations: 162.5 kB / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8253, allocations: 4 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.8254, allocations: 72.31 kB / 1.029 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.8256, allocations: 8.531 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.826, allocations: 147.5 kB / 1.029 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.8263, allocations: 0.7043 MB / 1.03 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.388e-05/0.8264, allocations: 15.98 kB / 1.03 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.8264, allocations: 11.44 kB / 1.03 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.8264, allocations: 0 / 1.03 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of Templates: time 0.00386/0.8303, allocations: 1.293 MB / 1.031 GB, free: 8.461 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_Continuous_Examples_SignalRanker.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches