Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 191.6 kB / 22.11 MB, free: 4.223 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 250.8 MB, free: 2.93 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.966/2.966, allocations: 495.8 MB / 0.7831 GB, free: 12.23 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker")
translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.89 kB / 1.137 GB, free: 10.2 MB / 0.8731 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9889/0.991, allocations: 173.6 MB / 1.307 GB, free: 0.9102 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00297/0.9939, allocations: 1.562 MB / 1.308 GB, free: 15.83 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001199/0.9951, allocations: 0.5897 MB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.149e-05/0.9952, allocations: 5.406 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.9953, allocations: 13.7 kB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 6.078e-05/0.9954, allocations: 16.73 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.9958, allocations: 95.25 kB / 1.309 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001885/0.996, allocations: 91.88 kB / 1.309 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.9961, allocations: 20.38 kB / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.9963, allocations: 48.83 kB / 1.309 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.9964, allocations: 48.61 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.9964, allocations: 7.844 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.9966, allocations: 92.08 kB / 1.309 GB, free: 15.22 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 6.052e-05/0.9966, allocations: 20 kB / 1.309 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.937e-05/0.9967, allocations: 41.39 kB / 1.309 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.997, allocations: 141.3 kB / 1.309 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.997, allocations: 4.656 kB / 1.309 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.683e-06/0.997, allocations: 1.062 kB / 1.309 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.467e-06/0.997, allocations: 0 / 1.309 GB, free: 15.13 MB / 1.014 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.0008784/0.9979, allocations: 378.6 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.9979, allocations: 9.75 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.998, allocations: 14.83 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.9982, allocations: 138 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.9982, allocations: 2.656 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.9982, allocations: 8.672 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.9985, allocations: 105.6 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.9985, allocations: 1.062 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.9985, allocations: 0 / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.9986, allocations: 5.766 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.9989, allocations: 94.72 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.9996, allocations: 321.6 kB / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/1, allocations: 90.56 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/1, allocations: 57 kB / 1.311 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/1, allocations: 5.672 kB / 1.311 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003674/1.001, allocations: 110.1 kB / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=9): time 1.663e-06/1.001, allocations: 0 / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9): time 0.0007368/1.001, allocations: 212.2 kB / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/1.001, allocations: 54.8 kB / 1.311 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/1.001, allocations: 137.4 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.675e-05/1.002, allocations: 26.86 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/1.002, allocations: 108.1 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/1.002, allocations: 33.16 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/1.002, allocations: 29.91 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001473/1.002, allocations: 325.1 kB / 1.312 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/1.002, allocations: 56.59 kB / 1.312 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/1.002, allocations: 57.25 kB / 1.312 GB, free: 13.4 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/1.003, allocations: 146.8 kB / 1.312 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.003, allocations: 0 / 1.312 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005477/1.003, allocations: 200.7 kB / 1.312 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/1.003, allocations: 32.25 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.003, allocations: 1.281 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.003, allocations: 0 / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/1.003, allocations: 23.48 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/1.003, allocations: 9.094 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/1.004, allocations: 14.33 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/1.004, allocations: 3.141 kB / 1.312 GB, free: 13.19 MB / 1.014 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.0001414/1.004, allocations: 129.9 kB / 1.312 GB, free: 13.06 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/1.004, allocations: 16.16 kB / 1.312 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/1.004, allocations: 12.81 kB / 1.312 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/1.004, allocations: 4.891 kB / 1.312 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.004, allocations: 4.703 kB / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.004, allocations: 1.125 kB / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/1.004, allocations: 173.8 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.004, allocations: 0.7969 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/1.004, allocations: 16.72 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.004, allocations: 1.219 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/1.004, allocations: 5.172 kB / 1.312 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/1.004, allocations: 1.156 kB / 1.312 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.004, allocations: 0.7969 kB / 1.312 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/1.005, allocations: 185.4 kB / 1.313 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/1.005, allocations: 11.19 kB / 1.313 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/1.005, allocations: 1.984 kB / 1.313 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/1.005, allocations: 22 kB / 1.313 GB, free: 12.74 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/1.005, allocations: 14.34 kB / 1.313 GB, free: 12.73 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/1.005, allocations: 11.47 kB / 1.313 GB, free: 12.73 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 9.621e-05/1.005, allocations: 104.8 kB / 1.313 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/1.005, allocations: 0 / 1.313 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003011/1.005, allocations: 40.64 kB / 1.313 GB, free: 12.64 MB / 1.014 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.0002005/1.006, allocations: 117.4 kB / 1.313 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0005459/1.006, allocations: 181.7 kB / 1.313 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.006, allocations: 0 / 1.313 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002313/1.006, allocations: 67.94 kB / 1.313 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/1.007, allocations: 7.391 kB / 1.313 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/1.007, allocations: 227.2 kB / 1.313 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/1.008, allocations: 0.7074 MB / 1.314 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.549e-05/1.008, allocations: 10.81 kB / 1.314 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/1.008, allocations: 13.77 kB / 1.314 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of SimCode: time 2.9e-07/1.008, allocations: 0 / 1.314 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of Templates: time 0.004836/1.013, allocations: 1.481 MB / 1.316 GB, free: 10.95 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.50337697379291]