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.00115/0.00115, allocations: 116.3 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.001262/0.001262, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.625/2.625, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 63.91 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9269/0.9283, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002882/0.9312, allocations: 1.548 MB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.9324, allocations: 0.5727 MB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.9325, allocations: 3.938 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.9327, allocations: 15.92 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.9327, allocations: 19.8 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.9332, allocations: 95.7 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.9334, allocations: 99.62 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.9335, allocations: 16.23 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.9337, allocations: 51.83 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.9338, allocations: 39.83 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.9338, allocations: 8 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.934, allocations: 87.91 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.112e-05/0.9341, allocations: 19.92 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.161e-05/0.9342, allocations: 51.66 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.9344, allocations: 136 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9344, allocations: 4 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9344, allocations: 0 / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.9345, allocations: 0 / 1.17 GB, free: 1.129 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.0009077/0.9354, allocations: 452.6 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.9354, allocations: 8.031 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.9355, allocations: 16.84 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.9357, allocations: 192.2 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.9357, allocations: 4.375 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.9358, allocations: 8.359 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.9361, allocations: 109.9 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.9361, allocations: 0 / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.9361, allocations: 0 / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.9362, allocations: 4 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.9365, allocations: 91.86 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006977/0.9372, allocations: 356.6 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.9375, allocations: 86.52 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.9377, allocations: 64.88 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.9377, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003483/0.9381, allocations: 115.3 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.834e-06/0.9381, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0006935/0.9388, allocations: 221.4 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.9388, allocations: 55.41 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.939, allocations: 136.2 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.939, allocations: 25.7 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.9391, allocations: 104.1 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.9392, allocations: 27.78 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.9392, allocations: 25.72 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.9394, allocations: 326.8 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.9396, allocations: 55.95 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.9398, allocations: 59.94 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.9401, allocations: 146.5 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9401, allocations: 0 / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004633/0.9406, allocations: 203.2 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.9406, allocations: 37.69 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9407, allocations: 4 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.9407, allocations: 0 / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.9408, allocations: 19.98 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.9408, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.941, allocations: 11.98 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.941, allocations: 7.984 kB / 1.173 GB, free: 13.96 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 9.892e-05/0.9411, allocations: 129.7 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.9412, allocations: 11.91 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.9412, allocations: 16.7 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.9412, allocations: 4 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.9412, allocations: 4 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.9413, allocations: 88.98 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.9413, allocations: 7.938 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.9414, allocations: 11.98 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.9415, allocations: 15.97 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005348/0.942, allocations: 241.3 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004744/0.9425, allocations: 330.6 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001861/0.9427, allocations: 59.95 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.802e-05/0.9428, allocations: 121.4 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of Backend: time 5.91e-07/0.9428, allocations: 0 / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006552/0.9435, allocations: 217.8 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006169/0.9441, allocations: 0.6506 MB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of Templates: time 0.004717/0.9488, allocations: 1.723 MB / 1.176 GB, free: 10.25 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