Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.00103, allocations: 172.9 kB / 487.4 MB, free: 5.031 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008502/0.0008502, allocations: 102.2 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.805e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2555, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9272/1.183, allocations: 150.1 MB / 1.353 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/1.183, allocations: 73.73 kB / 1.353 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0106/1.194, allocations: 3.512 MB / 1.356 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.303e-06/1.194, allocations: 0 / 1.356 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.106e-05/1.194, allocations: 3.875 kB / 1.356 GB, free: 33.9 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.0005798/1.194, allocations: 441.5 kB / 1.356 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.194, allocations: 11.53 kB / 1.356 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/1.194, allocations: 14.14 kB / 1.356 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/1.195, allocations: 192.7 kB / 1.357 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/1.195, allocations: 4.781 kB / 1.357 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/1.195, allocations: 3.875 kB / 1.357 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001164/1.195, allocations: 39.39 kB / 1.357 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/1.195, allocations: 79.27 kB / 1.357 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/1.195, allocations: 0 / 1.357 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/1.195, allocations: 0.7969 kB / 1.357 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.195, allocations: 0 / 1.357 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/1.196, allocations: 342.6 kB / 1.357 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.854e-05/1.196, allocations: 51.02 kB / 1.357 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/1.196, allocations: 40.38 kB / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/1.196, allocations: 0 / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/1.196, allocations: 93.5 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.164e-06/1.196, allocations: 112 / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002557/1.196, allocations: 107.7 kB / 1.357 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/1.196, allocations: 61.59 kB / 1.357 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/1.196, allocations: 125.5 kB / 1.358 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/1.196, allocations: 32.78 kB / 1.358 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/1.196, allocations: 102.1 kB / 1.358 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/1.196, allocations: 24.39 kB / 1.358 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-06/1.196, allocations: 0 / 1.358 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.196, allocations: 325.8 kB / 1.358 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.317e-05/1.197, allocations: 28.89 kB / 1.358 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.546e-05/1.197, allocations: 33.56 kB / 1.358 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.557e-05/1.197, allocations: 28.11 kB / 1.358 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.197, allocations: 7.844 kB / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001841/1.197, allocations: 116.2 kB / 1.358 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/1.197, allocations: 37.2 kB / 1.358 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.197, allocations: 7.891 kB / 1.358 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.197, allocations: 7.75 kB / 1.358 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/1.197, allocations: 21.55 kB / 1.358 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/1.197, allocations: 1.375 kB / 1.358 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/1.197, allocations: 29.47 kB / 1.358 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/1.197, allocations: 0 / 1.358 GB, free: 32.16 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 ($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 6.989e-05/1.197, allocations: 107.6 kB / 1.358 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/1.197, allocations: 11.66 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/1.198, allocations: 120.3 kB / 1.359 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/1.198, allocations: 10.95 kB / 1.359 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.198, allocations: 0 / 1.359 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.198, allocations: 0 / 1.359 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/1.198, allocations: 172.7 kB / 1.359 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/1.198, allocations: 7.844 kB / 1.359 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/1.198, allocations: 21.62 kB / 1.359 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.198, allocations: 0.5 kB / 1.359 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/1.198, allocations: 0 / 1.359 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.198, allocations: 0 / 1.359 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.198, allocations: 0.8125 kB / 1.359 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/1.198, allocations: 140.4 kB / 1.359 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/1.198, allocations: 87.78 kB / 1.359 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/1.198, allocations: 3.875 kB / 1.359 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/1.198, allocations: 17.72 kB / 1.359 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/1.198, allocations: 13.61 kB / 1.359 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/1.198, allocations: 96 / 1.359 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.81e-05/1.198, allocations: 113.7 kB / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.198, allocations: 4 kB / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002557/1.199, allocations: 45.78 kB / 1.359 GB, free: 31.57 MB / 0.8386 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.0001604/1.199, allocations: 118.1 kB / 1.359 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002058/1.199, allocations: 171.1 kB / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.199, allocations: 0 / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/1.199, allocations: 72.69 kB / 1.36 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/1.199, allocations: 7.844 kB / 1.36 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/1.2, allocations: 141 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/1.2, allocations: 0.703 MB / 1.36 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.58e-05/1.2, allocations: 14.34 kB / 1.36 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/1.2, allocations: 13.91 kB / 1.36 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.2, allocations: 0 / 1.36 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of Templates: time 0.003083/1.203, allocations: 1.227 MB / 1.362 GB, free: 30.46 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","../files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches