Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001629/0.001629, allocations: 116 kB / 16.42 MB, free: 6.473 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.001881/0.001881, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.378/2.378, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 64.12 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7524/0.7538, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002542/0.7564, allocations: 1.541 MB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009637/0.7574, allocations: 0.5765 MB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.7574, allocations: 7.938 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.263e-05/0.7576, allocations: 3.938 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.7576, allocations: 23.8 kB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.758, allocations: 91.77 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.7582, allocations: 103.6 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.7583, allocations: 16.23 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.7584, allocations: 43.84 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.626e-05/0.7585, allocations: 47.81 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.7585, allocations: 8 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.7587, allocations: 91.84 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.7587, allocations: 19.92 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.7588, allocations: 43.73 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.759, allocations: 147.3 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.759, allocations: 4 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/0.759, allocations: 0 / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.759, allocations: 0 / 1.17 GB, free: 1.086 MB / 0.8887 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.0007812/0.7598, allocations: 450.6 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.7598, allocations: 8.031 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.7599, allocations: 8.844 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.7601, allocations: 192.2 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.7601, allocations: 12.31 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.7601, allocations: 4.375 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.7604, allocations: 105.9 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7604, allocations: 3.984 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.7604, allocations: 4 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.7605, allocations: 0 / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.7608, allocations: 95.86 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006682/0.7615, allocations: 352.7 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.7618, allocations: 90.52 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.762, allocations: 60.88 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.762, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.7623, allocations: 111.3 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/0.7623, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0006506/0.763, allocations: 209.5 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.763, allocations: 59.33 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.7631, allocations: 143.8 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.7632, allocations: 25.98 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.7632, allocations: 108 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.7633, allocations: 31.55 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.7633, allocations: 25.66 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.7635, allocations: 326.8 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.7637, allocations: 55.95 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.7638, allocations: 59.94 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.7642, allocations: 142.5 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7642, allocations: 0 / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004694/0.7647, allocations: 203.2 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.7648, allocations: 37.69 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.7648, allocations: 0 / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.7648, allocations: 4 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.765, allocations: 19.98 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.765, allocations: 4.062 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.7651, allocations: 11.98 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.7651, allocations: 7.984 kB / 1.173 GB, free: 13.93 MB / 0.9044 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.0001089/0.7653, allocations: 117.8 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.7653, allocations: 7.906 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.7653, allocations: 28.64 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7653, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7653, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.7654, allocations: 92.86 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.7654, allocations: 3.938 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.7656, allocations: 15.97 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.7656, allocations: 19.97 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005286/0.7662, allocations: 236.9 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004674/0.7666, allocations: 330.6 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001893/0.7668, allocations: 64.12 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.226e-05/0.7669, allocations: 113.4 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of Backend: time 4.91e-07/0.7669, allocations: 3.938 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006119/0.7676, allocations: 225.7 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005638/0.7681, allocations: 0.6462 MB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of Templates: time 0.004229/0.7724, allocations: 1.718 MB / 1.176 GB, free: 10.22 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches