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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.504/2.504, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001578/0.001578, allocations: 179.6 kB / 0.4902 GB, free: 2.246 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.722/1.722, allocations: 223.2 MB / 0.7992 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 98.8 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003943, allocations: 10.53 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3053, allocations: 143 MB / 1.229 GB, free: 85.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1898/0.4952, allocations: 151.6 MB / 1.377 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.4955, allocations: 71.97 kB / 1.377 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01014/0.5056, allocations: 3.552 MB / 1.381 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5056, allocations: 0 / 1.381 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.5057, allocations: 4 kB / 1.381 GB, free: 10.04 MB / 0.8855 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.0007089/0.5064, allocations: 456.5 kB / 1.381 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5064, allocations: 8.562 kB / 1.381 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.5065, allocations: 15.86 kB / 1.381 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.5067, allocations: 195.7 kB / 1.381 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.5068, allocations: 8 kB / 1.381 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.5068, allocations: 8 kB / 1.381 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.5071, allocations: 109.6 kB / 1.382 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5071, allocations: 0 / 1.382 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.5072, allocations: 0 / 1.382 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5072, allocations: 0 / 1.382 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.5075, allocations: 119.8 kB / 1.382 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006482/0.5082, allocations: 372.6 kB / 1.382 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.5085, allocations: 98.52 kB / 1.382 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.5086, allocations: 4 kB / 1.382 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/0.5089, allocations: 127.3 kB / 1.382 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.5089, allocations: 0 / 1.382 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.000723/0.5096, allocations: 314.5 kB / 1.383 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.5097, allocations: 55.41 kB / 1.383 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.5098, allocations: 134.5 kB / 1.383 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.5098, allocations: 25.7 kB / 1.383 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.5099, allocations: 104 kB / 1.383 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.5099, allocations: 24.06 kB / 1.383 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.5099, allocations: 0 / 1.383 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.51, allocations: 326.9 kB / 1.383 GB, free: 7.355 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.5102, allocations: 71.89 kB / 1.383 GB, free: 7.285 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.5104, allocations: 63.95 kB / 1.383 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.5106, allocations: 93.66 kB / 1.383 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5106, allocations: 0 / 1.383 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000479/0.5111, allocations: 227.1 kB / 1.384 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.5112, allocations: 30.48 kB / 1.384 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.5112, allocations: 0 / 1.384 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5112, allocations: 4 kB / 1.384 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.5114, allocations: 23.97 kB / 1.384 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.5114, allocations: 4 kB / 1.384 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.5115, allocations: 31.83 kB / 1.384 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.5116, allocations: 7.984 kB / 1.384 GB, free: 6.785 MB / 0.8855 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 () * Number of clocked 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 9.457e-05/0.5117, allocations: 117.8 kB / 1.384 GB, free: 6.66 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.5117, allocations: 11.86 kB / 1.384 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005203/0.5122, allocations: 186.2 kB / 1.384 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.5123, allocations: 4 kB / 1.384 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5123, allocations: 4 kB / 1.384 GB, free: 6.449 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.5123, allocations: 3.984 kB / 1.384 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.5125, allocations: 197.5 kB / 1.384 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.5125, allocations: 0 / 1.384 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.5127, allocations: 23.97 kB / 1.384 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5127, allocations: 0 / 1.384 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.5127, allocations: 11.89 kB / 1.384 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5127, allocations: 0 / 1.384 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5127, allocations: 0 / 1.384 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/0.5132, allocations: 201.1 kB / 1.384 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.5133, allocations: 85.02 kB / 1.385 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.5134, allocations: 7.922 kB / 1.385 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.5135, allocations: 23.94 kB / 1.385 GB, free: 5.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.514e-05/0.5136, allocations: 15.97 kB / 1.385 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.5136, allocations: 11.88 kB / 1.385 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.206e-05/0.5137, allocations: 109.2 kB / 1.385 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5137, allocations: 0 / 1.385 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003014/0.5141, allocations: 47.92 kB / 1.385 GB, free: 5.641 MB / 0.8855 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: 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.0002735/0.5143, allocations: 112 kB / 1.385 GB, free: 5.523 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00062/0.515, allocations: 237 kB / 1.385 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.515, allocations: 3.938 kB / 1.385 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.5153, allocations: 101.9 kB / 1.385 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.5155, allocations: 7.984 kB / 1.385 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007659/0.5163, allocations: 251.2 kB / 1.385 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.5167, allocations: 0.7043 MB / 1.386 GB, free: 4.152 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.701e-05/0.5168, allocations: 11.98 kB / 1.386 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.5169, allocations: 15.42 kB / 1.386 GB, free: 4.129 MB / 0.8855 GB Notification: Performance of SimCode: time 3.436e-06/0.5169, allocations: 0 / 1.386 GB, free: 4.129 MB / 0.8855 GB Notification: Performance of Templates: time 0.00539/0.5223, allocations: 1.284 MB / 1.387 GB, free: 2.848 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches