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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001406/0.001406, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001558, allocations: 192.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 482.6 MB / 0.7549 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 73.02 kB / 0.9241 GB, free: 29.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3981, allocations: 162.3 MB / 1.083 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00326/0.4014, allocations: 1.545 MB / 1.084 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.4027, allocations: 0.5765 MB / 1.085 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.4028, allocations: 7.938 kB / 1.085 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.4029, allocations: 7.875 kB / 1.085 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.403, allocations: 23.78 kB / 1.085 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.4034, allocations: 95.75 kB / 1.085 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.4037, allocations: 95.64 kB / 1.085 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.4038, allocations: 28.2 kB / 1.085 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.4039, allocations: 43.89 kB / 1.085 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.4041, allocations: 47.77 kB / 1.085 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.4041, allocations: 4 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.4043, allocations: 63.91 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.4043, allocations: 23.91 kB / 1.085 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.4044, allocations: 39.78 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.4047, allocations: 139.8 kB / 1.085 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4047, allocations: 0 / 1.085 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4047, allocations: 0 / 1.085 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.4047, allocations: 3.984 kB / 1.085 GB, free: 10.24 MB / 0.8419 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.0009391/0.4056, allocations: 448.7 kB / 1.086 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4057, allocations: 16.03 kB / 1.086 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.4058, allocations: 12.78 kB / 1.086 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.406, allocations: 196.2 kB / 1.086 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.406, allocations: 4.375 kB / 1.086 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.406, allocations: 4.375 kB / 1.086 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.4064, allocations: 105.9 kB / 1.086 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4064, allocations: 0 / 1.086 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.4064, allocations: 0 / 1.086 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.4064, allocations: 4 kB / 1.086 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.4068, allocations: 103.8 kB / 1.086 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007114/0.4075, allocations: 336.7 kB / 1.086 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.4079, allocations: 102.4 kB / 1.086 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.4081, allocations: 60.88 kB / 1.087 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.4081, allocations: 4 kB / 1.087 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003601/0.4085, allocations: 111.3 kB / 1.087 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.4085, allocations: 0 / 1.087 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0006809/0.4092, allocations: 209.4 kB / 1.087 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.4092, allocations: 59.39 kB / 1.087 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.4094, allocations: 147.2 kB / 1.087 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.4095, allocations: 29.7 kB / 1.087 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.4095, allocations: 100.1 kB / 1.087 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.4096, allocations: 27.56 kB / 1.087 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.4096, allocations: 25.7 kB / 1.087 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0003053/0.4099, allocations: 322.8 kB / 1.088 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.4102, allocations: 59.95 kB / 1.088 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.4103, allocations: 55.95 kB / 1.088 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.4107, allocations: 146.4 kB / 1.088 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4107, allocations: 0 / 1.088 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004836/0.4112, allocations: 203.2 kB / 1.088 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.4113, allocations: 33.7 kB / 1.088 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4113, allocations: 0 / 1.088 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4113, allocations: 0 / 1.088 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.4115, allocations: 27.91 kB / 1.088 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.4115, allocations: 0 / 1.088 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.4116, allocations: 23.83 kB / 1.088 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.4116, allocations: 0 / 1.088 GB, free: 7.07 MB / 0.8419 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 0.0001273/0.4118, allocations: 129.8 kB / 1.088 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.4118, allocations: 7.906 kB / 1.088 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.4118, allocations: 16.72 kB / 1.088 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.4119, allocations: 4 kB / 1.088 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4119, allocations: 0 / 1.088 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4119, allocations: 3.984 kB / 1.088 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.4121, allocations: 189.6 kB / 1.088 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4121, allocations: 4 kB / 1.088 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.4122, allocations: 23.97 kB / 1.088 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4122, allocations: 0 / 1.088 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4123, allocations: 4 kB / 1.088 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4123, allocations: 480 / 1.088 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4123, allocations: 0 / 1.088 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.4127, allocations: 188.8 kB / 1.089 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.4128, allocations: 89.02 kB / 1.089 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.4128, allocations: 0 / 1.089 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.413, allocations: 19.95 kB / 1.089 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.4131, allocations: 15.98 kB / 1.089 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.4131, allocations: 0 / 1.089 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.17e-05/0.4132, allocations: 109 kB / 1.089 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4132, allocations: 0 / 1.089 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002581/0.4134, allocations: 39.94 kB / 1.089 GB, free: 6.145 MB / 0.8419 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.0002716/0.4137, allocations: 123.1 kB / 1.089 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005598/0.4143, allocations: 187.3 kB / 1.089 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4143, allocations: 0 / 1.089 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.4145, allocations: 63.89 kB / 1.089 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.4147, allocations: 20.28 kB / 1.089 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.4153, allocations: 227.7 kB / 1.089 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.4158, allocations: 0.7039 MB / 1.09 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.86e-05/0.4159, allocations: 15.97 kB / 1.09 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.4159, allocations: 15.44 kB / 1.09 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4159, allocations: 0 / 1.09 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of Templates: time 0.004978/0.4209, allocations: 1.402 MB / 1.092 GB, free: 3.336 MB / 0.8419 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=400 -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