Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001393/0.001393, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.001508/0.001508, allocations: 192.3 kB / 22.23 MB, free: 5.16 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.474/1.474, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.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 3.238/3.238, allocations: 496 MB / 0.7835 GB, free: 33.66 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.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor")
translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 65.97 kB / 1.138 GB, free: 33.75 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4331, allocations: 173.6 MB / 1.307 GB, free: 1.762 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002963/0.4361, allocations: 1.352 MB / 1.309 GB, free: 420 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.002429/0.4385, allocations: 1.568 MB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.4387, allocations: 11.94 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.4389, allocations: 27.61 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.439, allocations: 79.38 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.4403, allocations: 0.4932 MB / 1.311 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0007846/0.4411, allocations: 0.6482 MB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.4414, allocations: 121.3 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.4417, allocations: 263.3 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.4421, allocations: 239.2 kB / 1.312 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 9.401e-05/0.4422, allocations: 64 kB / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.4423, allocations: 79.97 kB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.4424, allocations: 87.64 kB / 1.312 GB, free: 12.74 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.000268/0.4427, allocations: 243 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000792/0.4435, allocations: 0.6851 MB / 1.313 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4435, allocations: 0 / 1.313 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.323e-06/0.4435, allocations: 0 / 1.313 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.405e-06/0.4435, allocations: 3.938 kB / 1.313 GB, free: 11.81 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: 57
 * Number of variables: 57
Notification: Performance of Generate backend data structure: time 0.001371/0.4449, allocations: 0.8711 MB / 1.314 GB, free: 10.85 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4449, allocations: 8.922 kB / 1.314 GB, free: 10.84 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.445, allocations: 56.64 kB / 1.314 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.4463, allocations: 405.5 kB / 1.314 GB, free: 10.37 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.4464, allocations: 28.81 kB / 1.314 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.4465, allocations: 48.34 kB / 1.314 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/0.4472, allocations: 320.5 kB / 1.315 GB, free: 9.977 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4472, allocations: 3.938 kB / 1.315 GB, free: 9.973 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.4472, allocations: 12 kB / 1.315 GB, free: 9.961 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.4472, allocations: 11.94 kB / 1.315 GB, free: 9.949 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.4479, allocations: 249.8 kB / 1.315 GB, free: 9.703 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.4496, allocations: 0.8719 MB / 1.316 GB, free: 8.789 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/0.4504, allocations: 363.3 kB / 1.316 GB, free: 8.426 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.451, allocations: 252.8 kB / 1.316 GB, free: 8.176 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.451, allocations: 4 kB / 1.316 GB, free: 8.172 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006552/0.4516, allocations: 331.7 kB / 1.317 GB, free: 7.836 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=44): time 2.866e-06/0.4517, allocations: 0 / 1.317 GB, free: 7.836 MB / 1.014 GB
Notification: Performance of matching and sorting (n=44): time 0.001827/0.4535, allocations: 0.8295 MB / 1.318 GB, free: 6.969 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/0.4536, allocations: 195.9 kB / 1.318 GB, free: 6.734 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.454, allocations: 288.5 kB / 1.318 GB, free: 6.441 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 7.651e-05/0.4541, allocations: 49.64 kB / 1.318 GB, free: 6.387 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.4543, allocations: 164.9 kB / 1.318 GB, free: 6.223 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.4545, allocations: 134.9 kB / 1.318 GB, free: 6.09 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/0.4548, allocations: 134.1 kB / 1.319 GB, free: 5.953 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002486/0.455, allocations: 346.8 kB / 1.319 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000636/0.4556, allocations: 276.8 kB / 1.319 GB, free: 5.336 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006828/0.4563, allocations: 357.5 kB / 1.319 GB, free: 4.945 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.4576, allocations: 0.9167 MB / 1.32 GB, free: 3.914 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4576, allocations: 3.938 kB / 1.32 GB, free: 3.91 MB / 1.014 GB
Notification: Performance of matching and sorting (n=57) (initialization): time 0.001755/0.4593, allocations: 1.005 MB / 1.321 GB, free: 2.84 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0002313/0.4595, allocations: 261.3 kB / 1.322 GB, free: 2.531 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.4596, allocations: 4.266 kB / 1.322 GB, free: 2.527 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.4596, allocations: 8 kB / 1.322 GB, free: 2.52 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.4599, allocations: 63.91 kB / 1.322 GB, free: 2.457 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.4599, allocations: 7.984 kB / 1.322 GB, free: 2.449 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007144/0.4606, allocations: 139.6 kB / 1.322 GB, free: 2.312 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.4607, allocations: 71.86 kB / 1.322 GB, free: 2.242 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * Number of states: 0 ()
 * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (49):
 * Single equations (assignments): 40
 * Array equations: 0
 * Algorithm blocks: 9
 * 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.0003911/0.4611, allocations: 318.8 kB / 1.322 GB, free: 1.891 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.4612, allocations: 39.77 kB / 1.322 GB, free: 1.852 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.4613, allocations: 47.48 kB / 1.322 GB, free: 1.797 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.4613, allocations: 4 kB / 1.322 GB, free: 1.793 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.4613, allocations: 0 / 1.322 GB, free: 1.793 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.4613, allocations: 3.984 kB / 1.322 GB, free: 1.789 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.4633, allocations: 1.16 MB / 1.323 GB, free: 0.5508 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.4633, allocations: 4 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.4636, allocations: 59.95 kB / 1.323 GB, free: 500 kB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.4636, allocations: 3.984 kB / 1.323 GB, free: 496 kB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.4636, allocations: 19.98 kB / 1.323 GB, free: 476 kB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4636, allocations: 3.938 kB / 1.323 GB, free: 472 kB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4636, allocations: 7.938 kB / 1.323 GB, free: 464 kB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.4648, allocations: 0.7625 MB / 1.324 GB, free: 15.64 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.4648, allocations: 39.64 kB / 1.324 GB, free: 15.61 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.4649, allocations: 8 kB / 1.324 GB, free: 15.6 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.4651, allocations: 27.97 kB / 1.324 GB, free: 15.57 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/0.4652, allocations: 39.88 kB / 1.324 GB, free: 15.53 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.873e-05/0.4653, allocations: 51.88 kB / 1.324 GB, free: 15.48 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0002228/0.4655, allocations: 207.1 kB / 1.325 GB, free: 15.28 MB / 1.029 GB
Notification: Performance of sort global known variables: time 8e-08/0.4655, allocations: 0 / 1.325 GB, free: 15.28 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004619/0.466, allocations: 99.95 kB / 1.325 GB, free: 15.18 MB / 1.029 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (44):
 * Single equations (assignments): 35
 * Array equations: 0
 * Algorithm blocks: 5
 * Record equations: 0
 * When equations: 4
 * 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.0002066/0.4662, allocations: 128.5 kB / 1.325 GB, free: 15.05 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.001615/0.4678, allocations: 1.036 MB / 1.326 GB, free: 13.9 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4678, allocations: 8 kB / 1.326 GB, free: 13.89 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006581/0.4684, allocations: 0.4967 MB / 1.326 GB, free: 13.34 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.469, allocations: 76.61 kB / 1.326 GB, free: 13.26 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.4706, allocations: 0.8013 MB / 1.327 GB, free: 12.43 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.471, allocations: 0.7999 MB / 1.328 GB, free: 11.61 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0002299/0.4713, allocations: 95.19 kB / 1.328 GB, free: 11.52 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.4713, allocations: 31.44 kB / 1.328 GB, free: 11.48 MB / 1.029 GB
Notification: Performance of SimCode: time 3.1e-07/0.4713, allocations: 0 / 1.328 GB, free: 11.48 MB / 1.029 GB
Notification: Performance of Templates: time 0.01395/0.4853, allocations: 6.815 MB / 1.335 GB, free: 4.75 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.583762637339532]