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.001413/0.001413, allocations: 112.2 kB / 16.42 MB, free: 6.504 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.001313/0.001313, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.467/1.467, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.676/2.676, allocations: 461.7 MB / 0.7352 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 68.12 kB / 1.054 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9035/0.905, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003566/0.9086, allocations: 1.544 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.91, allocations: 0.5765 MB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.9101, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.9102, allocations: 11.88 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.9104, allocations: 23.78 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.911, allocations: 91.77 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.9112, allocations: 99.64 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.9113, allocations: 20.16 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.9114, allocations: 47.89 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.9116, allocations: 51.77 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.9116, allocations: 8 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.9118, allocations: 87.91 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.9119, allocations: 19.92 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.9119, allocations: 39.72 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.9122, allocations: 143.3 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9123, allocations: 4 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.345e-06/0.9123, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.9123, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 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.001004/0.9133, allocations: 454.6 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.9133, allocations: 8.031 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.9134, allocations: 8.844 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.9137, allocations: 194 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.9137, allocations: 4.375 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.9137, allocations: 8.359 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.9141, allocations: 105.9 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.9141, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.9142, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.9142, allocations: 3.984 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.9145, allocations: 91.86 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008514/0.9154, allocations: 356.5 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.9157, allocations: 86.52 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.9159, allocations: 60.88 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.916, allocations: 0 / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003622/0.9163, allocations: 119.2 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 2.444e-06/0.9163, allocations: 0 / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0006884/0.917, allocations: 209.8 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.9171, allocations: 55.41 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.9172, allocations: 144.2 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.9173, allocations: 29.64 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.9174, allocations: 104 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.9174, allocations: 27.56 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.9175, allocations: 25.7 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9176, allocations: 326.8 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.9178, allocations: 59.95 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.9179, allocations: 51.95 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.9183, allocations: 146.5 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9183, allocations: 0 / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004649/0.9188, allocations: 211.2 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.9188, allocations: 29.7 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.9188, allocations: 0 / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.9188, allocations: 0 / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.919, allocations: 27.97 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.919, allocations: 0 / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.9192, allocations: 11.98 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.9192, allocations: 4 kB / 1.214 GB, free: 7.75 MB / 0.9356 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 9.742e-05/0.9193, allocations: 127.5 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.9193, allocations: 19.8 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.9194, allocations: 16.72 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.9194, allocations: 0 / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.9194, allocations: 3.984 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.9195, allocations: 88.95 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.9195, allocations: 3.938 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.9196, allocations: 15.92 kB / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.9197, allocations: 19.98 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005257/0.9202, allocations: 236.8 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005065/0.9207, allocations: 338.7 kB / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001946/0.9209, allocations: 55.95 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.678e-05/0.921, allocations: 111.2 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of Backend: time 5.92e-07/0.921, allocations: 0 / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006639/0.9217, allocations: 229.7 kB / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000611/0.9223, allocations: 0.6372 MB / 1.216 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of Templates: time 0.004679/0.927, allocations: 1.713 MB / 1.217 GB, free: 4.047 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches