Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001317/0.001317, allocations: 109.1 kB / 16.41 MB, free: 6.512 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.001355/0.001355, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.318/1.318, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.16/2.16, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7431/0.7445, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002275/0.7469, allocations: 1.551 MB / 1.09 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008325/0.7477, allocations: 0.5681 MB / 1.091 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.7478, allocations: 4.812 kB / 1.091 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.621e-05/0.7479, allocations: 6.797 kB / 1.091 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.7479, allocations: 20.34 kB / 1.091 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.7483, allocations: 91.67 kB / 1.091 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.7484, allocations: 104.5 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.7485, allocations: 20.19 kB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.7486, allocations: 50.06 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.664e-05/0.7487, allocations: 40.36 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.7488, allocations: 11.66 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.7489, allocations: 87.28 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.749, allocations: 21.45 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.891e-05/0.749, allocations: 37.42 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.7492, allocations: 145.7 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7493, allocations: 1.375 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7493, allocations: 0 / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.7493, allocations: 0 / 1.091 GB, free: 4.027 MB / 0.8575 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.0006801/0.75, allocations: 455.4 kB / 1.092 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.75, allocations: 9.844 kB / 1.092 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.75, allocations: 13.75 kB / 1.092 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.7502, allocations: 192 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.7502, allocations: 7.438 kB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.7502, allocations: 3.312 kB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.7505, allocations: 106.3 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.7506, allocations: 0.7188 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.7506, allocations: 5.484 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.7506, allocations: 4 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.7509, allocations: 87.56 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.7515, allocations: 347.4 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.7518, allocations: 100.8 kB / 1.093 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.752, allocations: 58.94 kB / 1.093 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.752, allocations: 1.125 kB / 1.093 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002962/0.7523, allocations: 117.5 kB / 1.093 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.704e-06/0.7524, allocations: 0 / 1.093 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006398/0.753, allocations: 202 kB / 1.093 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.753, allocations: 56.56 kB / 1.093 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.956e-05/0.7531, allocations: 141.5 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.7531, allocations: 28 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.7532, allocations: 103.1 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.7532, allocations: 30.19 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.7533, allocations: 28.8 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.086e-05/0.7533, allocations: 325.5 kB / 1.094 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.7535, allocations: 60.83 kB / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.7537, allocations: 56.59 kB / 1.094 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.7541, allocations: 143.7 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7541, allocations: 0 / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004674/0.7546, allocations: 207.5 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.7546, allocations: 33.53 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7546, allocations: 0 / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.7546, allocations: 0.9062 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.7548, allocations: 22.3 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.7548, allocations: 0.75 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.755, allocations: 15 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.755, allocations: 4.125 kB / 1.094 GB, free: 1.902 MB / 0.8575 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 7.076e-05/0.7551, allocations: 129.4 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.7551, allocations: 16.91 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.7551, allocations: 15.94 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7551, allocations: 0.625 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7551, allocations: 5.391 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.7552, allocations: 87.75 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.7552, allocations: 5.766 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.7553, allocations: 13.91 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.7554, allocations: 19 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005213/0.7559, allocations: 237.5 kB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004371/0.7564, allocations: 335.8 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001888/0.7566, allocations: 59.22 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.429e-05/0.7566, allocations: 111.4 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of Backend: time 9.62e-07/0.7567, allocations: 0 / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000641/0.7573, allocations: 236.1 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004619/0.7578, allocations: 0.6347 MB / 1.096 GB, free: 392 kB / 0.8575 GB Notification: Performance of Templates: time 0.005345/0.7631, allocations: 1.722 MB / 1.098 GB, free: 252 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches