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.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.945/2.945, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 13.27 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.36, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001773/0.3619, allocations: 1.249 MB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.3628, allocations: 0.5496 MB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.3629, allocations: 4 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.938e-05/0.363, allocations: 3.938 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.509e-05/0.363, allocations: 11.86 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.3634, allocations: 67.86 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3635, allocations: 87.64 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3636, allocations: 20.22 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.3638, allocations: 39.83 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.887e-05/0.3639, allocations: 39.83 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3639, allocations: 7.938 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.364, allocations: 43.97 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.3641, allocations: 19.91 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.3641, allocations: 45.64 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.3643, allocations: 91.98 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.3643, allocations: 3.984 kB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3643, allocations: 0 / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3643, allocations: 0 / 1.06 GB, free: 3.008 MB / 0.8106 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.0007801/0.3651, allocations: 448.8 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3651, allocations: 8.031 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.3652, allocations: 11.81 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3654, allocations: 192.1 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3654, allocations: 0 / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3655, allocations: 4 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.3658, allocations: 117.6 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3658, allocations: 0 / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3658, allocations: 0 / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.3658, allocations: 7.984 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.3662, allocations: 107.9 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.3668, allocations: 364.6 kB / 1.061 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.3671, allocations: 106.5 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.3673, allocations: 72.97 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.3673, allocations: 3.938 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003406/0.3677, allocations: 127.3 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.3677, allocations: 0 / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006532/0.3683, allocations: 233.5 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.3684, allocations: 55.41 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3685, allocations: 151.3 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3685, allocations: 25.7 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.3686, allocations: 100.1 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.3687, allocations: 35.56 kB / 1.062 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.3687, allocations: 0 / 1.062 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3688, allocations: 322.8 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.369, allocations: 67.95 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3692, allocations: 63.94 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.3694, allocations: 97.77 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3694, allocations: 0 / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004636/0.3698, allocations: 219.2 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.3699, allocations: 37.62 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3699, allocations: 3.938 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3699, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.3701, allocations: 27.98 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3701, allocations: 3.953 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3702, allocations: 23.91 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.3702, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 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: 1 * Algorithm blocks: 1 * Record equations: 0 * 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 0.0001111/0.3704, allocations: 121.8 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.3704, allocations: 11.81 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.3704, allocations: 16.7 kB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.3704, allocations: 8 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3705, allocations: 0 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3705, allocations: 7.938 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.3706, allocations: 197.6 kB / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3707, allocations: 0 / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3708, allocations: 23.98 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3708, allocations: 0 / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.3708, allocations: 3.984 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3708, allocations: 11.94 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3708, allocations: 0 / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.3712, allocations: 196.9 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.3713, allocations: 85.02 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.3713, allocations: 192 / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.3715, allocations: 19.98 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.3715, allocations: 19.91 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.3716, allocations: 4 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.3716, allocations: 116.5 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3716, allocations: 0 / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002539/0.3719, allocations: 40 kB / 1.064 GB, free: 14.82 MB / 0.8262 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 (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.0001938/0.3721, allocations: 110.1 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004604/0.3726, allocations: 207.3 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3726, allocations: 0 / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3728, allocations: 79.89 kB / 1.064 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.373, allocations: 13.53 kB / 1.064 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.3736, allocations: 254.9 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.3738, allocations: 0.6965 MB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.118e-05/0.3739, allocations: 11.98 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.374, allocations: 15.44 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of SimCode: time 6.11e-07/0.374, allocations: 0 / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.003801/0.3778, allocations: 1.24 MB / 1.067 GB, free: 12.14 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches