Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001335/0.001335, allocations: 113.9 kB / 18.94 MB, free: 2.785 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.00145/0.00145, allocations: 190.8 kB / 22.23 MB, free: 5.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.57/1.57, 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-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.226/3.226, allocations: 0.4893 GB / 0.7884 GB, free: 33.26 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-master/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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal")
translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 68.66 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4547, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00267/0.4574, allocations: 1.024 MB / 1.317 GB, free: 8.691 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002163/0.4596, allocations: 1.334 MB / 1.318 GB, free: 7.344 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.385e-05/0.4597, allocations: 8 kB / 1.318 GB, free: 7.336 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.4598, allocations: 23.73 kB / 1.318 GB, free: 7.312 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.46, allocations: 39.66 kB / 1.318 GB, free: 7.273 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009289/0.4609, allocations: 274 kB / 1.319 GB, free: 7.012 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005564/0.4614, allocations: 391.3 kB / 1.319 GB, free: 6.629 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.4617, allocations: 49.72 kB / 1.319 GB, free: 6.578 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.4619, allocations: 155.6 kB / 1.319 GB, free: 6.426 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.4621, allocations: 143.5 kB / 1.319 GB, free: 6.285 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 9.593e-05/0.4622, allocations: 32 kB / 1.319 GB, free: 6.254 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.4624, allocations: 51.98 kB / 1.319 GB, free: 6.203 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.4625, allocations: 63.77 kB / 1.32 GB, free: 6.141 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.4627, allocations: 139.4 kB / 1.32 GB, free: 6.004 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005513/0.4632, allocations: 398.5 kB / 1.32 GB, free: 5.613 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4632, allocations: 0 / 1.32 GB, free: 5.613 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.803e-06/0.4632, allocations: 4 kB / 1.32 GB, free: 5.609 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.877e-06/0.4632, allocations: 0 / 1.32 GB, free: 5.609 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: 30
 * Number of variables: 30
Notification: Performance of Generate backend data structure: time 0.001177/0.4644, allocations: 0.5472 MB / 1.321 GB, free: 5.016 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4645, allocations: 8.031 kB / 1.321 GB, free: 5.008 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.4646, allocations: 32.75 kB / 1.321 GB, free: 4.977 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.4656, allocations: 313.1 kB / 1.321 GB, free: 4.645 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.4656, allocations: 16.38 kB / 1.321 GB, free: 4.629 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.4657, allocations: 20.38 kB / 1.321 GB, free: 4.609 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.4662, allocations: 210.4 kB / 1.321 GB, free: 4.383 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.4663, allocations: 7.875 kB / 1.321 GB, free: 4.375 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.4663, allocations: 7.938 kB / 1.321 GB, free: 4.367 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.4663, allocations: 4 kB / 1.321 GB, free: 4.363 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.4668, allocations: 139.8 kB / 1.321 GB, free: 4.227 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.4683, allocations: 0.8789 MB / 1.322 GB, free: 3.289 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.4687, allocations: 149 kB / 1.322 GB, free: 3.098 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.4689, allocations: 76.3 kB / 1.322 GB, free: 3.008 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.469, allocations: 4 kB / 1.322 GB, free: 3.004 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004781/0.4694, allocations: 175.5 kB / 1.323 GB, free: 2.805 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=11): time 1.793e-06/0.4694, allocations: 4 kB / 1.323 GB, free: 2.801 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11): time 0.0009765/0.4704, allocations: 249.6 kB / 1.323 GB, free: 2.551 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.4705, allocations: 166.2 kB / 1.323 GB, free: 2.352 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.4708, allocations: 224.9 kB / 1.323 GB, free: 2.117 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.4709, allocations: 29.7 kB / 1.323 GB, free: 2.082 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.471, allocations: 156.3 kB / 1.323 GB, free: 1.926 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.4711, allocations: 27.81 kB / 1.323 GB, free: 1.898 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.4712, allocations: 57.67 kB / 1.323 GB, free: 1.836 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000181/0.4714, allocations: 338.8 kB / 1.324 GB, free: 1.496 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.4717, allocations: 99.91 kB / 1.324 GB, free: 1.398 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/0.4722, allocations: 173.4 kB / 1.324 GB, free: 1.195 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.4728, allocations: 270.9 kB / 1.324 GB, free: 0.8906 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4728, allocations: 4 kB / 1.324 GB, free: 0.8867 MB / 1.014 GB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009273/0.4737, allocations: 380.6 kB / 1.325 GB, free: 0.4961 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 7.447e-05/0.4738, allocations: 63.34 kB / 1.325 GB, free: 432 kB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4738, allocations: 4 kB / 1.325 GB, free: 428 kB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.4738, allocations: 3.938 kB / 1.325 GB, free: 424 kB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.474, allocations: 32.19 kB / 1.325 GB, free: 392 kB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.474, allocations: 7.922 kB / 1.325 GB, free: 384 kB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.4746, allocations: 87.84 kB / 1.325 GB, free: 296 kB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.4746, allocations: 15.98 kB / 1.325 GB, free: 280 kB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 9
 * Number of states: 0 ()
 * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (13):
 * Single equations (assignments): 11
 * Array equations: 0
 * Algorithm blocks: 2
 * 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.0001951/0.4748, allocations: 153.7 kB / 1.325 GB, free: 116 kB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.4748, allocations: 19.86 kB / 1.325 GB, free: 96 kB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.843e-05/0.4749, allocations: 25.33 kB / 1.325 GB, free: 64 kB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4749, allocations: 0 / 1.325 GB, free: 64 kB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.4749, allocations: 8.469 kB / 1.325 GB, free: 56 kB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4749, allocations: 0 / 1.325 GB, free: 56 kB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.4752, allocations: 224.6 kB / 1.325 GB, free: 15.79 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4752, allocations: 4 kB / 1.325 GB, free: 15.79 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.4753, allocations: 31.97 kB / 1.325 GB, free: 15.76 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4753, allocations: 0 / 1.325 GB, free: 15.76 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.4754, allocations: 4 kB / 1.325 GB, free: 15.75 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.4754, allocations: 7.938 kB / 1.325 GB, free: 15.75 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4754, allocations: 3.984 kB / 1.325 GB, free: 15.74 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.476, allocations: 240.2 kB / 1.326 GB, free: 15.48 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.476, allocations: 23.78 kB / 1.326 GB, free: 15.45 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.476, allocations: 7.984 kB / 1.326 GB, free: 15.45 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.4762, allocations: 15.98 kB / 1.326 GB, free: 15.43 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.4762, allocations: 23.91 kB / 1.326 GB, free: 15.41 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.4763, allocations: 8 kB / 1.326 GB, free: 15.4 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0001647/0.4764, allocations: 164.4 kB / 1.326 GB, free: 15.24 MB / 1.029 GB
Notification: Performance of sort global known variables: time 7e-08/0.4764, allocations: 0 / 1.326 GB, free: 15.24 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0003092/0.4767, allocations: 51.89 kB / 1.326 GB, free: 15.19 MB / 1.029 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (11):
 * Single equations (assignments): 9
 * Array equations: 0
 * 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.0002252/0.477, allocations: 107.8 kB / 1.326 GB, free: 15.08 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0008235/0.4778, allocations: 310.5 kB / 1.326 GB, free: 14.75 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4778, allocations: 0 / 1.326 GB, free: 14.75 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.4781, allocations: 80.28 kB / 1.326 GB, free: 14.67 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.4785, allocations: 52.33 kB / 1.326 GB, free: 14.62 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/0.4792, allocations: 395.5 kB / 1.327 GB, free: 14.2 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.4797, allocations: 0.7437 MB / 1.327 GB, free: 13.43 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001157/0.4798, allocations: 41.61 kB / 1.327 GB, free: 13.39 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.4799, allocations: 15.44 kB / 1.327 GB, free: 13.38 MB / 1.029 GB
Notification: Performance of SimCode: time 2.5e-07/0.4799, allocations: 0 / 1.327 GB, free: 13.38 MB / 1.029 GB
Notification: Performance of Templates: time 0.008674/0.4885, allocations: 3.233 MB / 1.331 GB, free: 10.19 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.722880383953452]