Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001913/0.001913, allocations: 104.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.002188/0.002188, allocations: 191.6 kB / 22.1 MB, free: 4.227 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.521/1.521, allocations: 225.6 MB / 250.8 MB, free: 2.926 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.989/2.989, allocations: 495.8 MB / 0.7831 GB, free: 12.3 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.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 67.89 kB / 1.137 GB, free: 12.23 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.245/1.248, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001989/1.25, allocations: 1.018 MB / 1.308 GB, free: 33.09 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.001422/1.252, allocations: 1.343 MB / 1.309 GB, free: 32.12 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/1.252, allocations: 3.938 kB / 1.309 GB, free: 32.12 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001327/1.252, allocations: 17.88 kB / 1.309 GB, free: 32.11 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 9.445e-05/1.252, allocations: 41.59 kB / 1.309 GB, free: 32.07 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006857/1.253, allocations: 279.4 kB / 1.309 GB, free: 31.93 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0003356/1.253, allocations: 392.2 kB / 1.31 GB, free: 31.75 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/1.253, allocations: 54.72 kB / 1.31 GB, free: 31.72 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/1.253, allocations: 156.6 kB / 1.31 GB, free: 31.65 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/1.253, allocations: 130.5 kB / 1.31 GB, free: 31.59 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 5.066e-05/1.253, allocations: 33.94 kB / 1.31 GB, free: 31.59 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/1.253, allocations: 56.53 kB / 1.31 GB, free: 31.59 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 7.076e-05/1.254, allocations: 60.12 kB / 1.31 GB, free: 31.55 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001125/1.254, allocations: 136.3 kB / 1.31 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003221/1.254, allocations: 398.8 kB / 1.311 GB, free: 31.32 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.254, allocations: 0 / 1.311 GB, free: 31.32 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.843e-06/1.254, allocations: 0 / 1.311 GB, free: 31.32 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 6.462e-06/1.254, allocations: 4 kB / 1.311 GB, free: 31.32 MB / 1.061 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.0008378/1.255, allocations: 0.5515 MB / 1.311 GB, free: 30.86 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/1.255, allocations: 8.781 kB / 1.311 GB, free: 30.86 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.552e-05/1.255, allocations: 31.73 kB / 1.311 GB, free: 30.85 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008673/1.256, allocations: 311.8 kB / 1.312 GB, free: 30.66 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/1.256, allocations: 13.34 kB / 1.312 GB, free: 30.65 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/1.256, allocations: 18.84 kB / 1.312 GB, free: 30.65 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/1.256, allocations: 216 kB / 1.312 GB, free: 30.53 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.256, allocations: 7.875 kB / 1.312 GB, free: 30.52 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/1.256, allocations: 6.531 kB / 1.312 GB, free: 30.52 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.256, allocations: 2.5 kB / 1.312 GB, free: 30.52 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/1.257, allocations: 139 kB / 1.312 GB, free: 30.49 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000917/1.258, allocations: 0.8745 MB / 1.313 GB, free: 29.79 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/1.258, allocations: 147.5 kB / 1.313 GB, free: 29.65 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/1.258, allocations: 82.61 kB / 1.313 GB, free: 29.6 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/1.258, allocations: 6.969 kB / 1.313 GB, free: 29.6 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/1.259, allocations: 170.5 kB / 1.313 GB, free: 29.48 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=11): time 1.322e-06/1.259, allocations: 0 / 1.313 GB, free: 29.48 MB / 1.061 GB
Notification: Performance of matching and sorting (n=11): time 0.0008184/1.259, allocations: 260.5 kB / 1.313 GB, free: 29.4 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/1.259, allocations: 157.1 kB / 1.314 GB, free: 29.21 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/1.26, allocations: 221.4 kB / 1.314 GB, free: 29.07 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 3.484e-05/1.26, allocations: 34.98 kB / 1.314 GB, free: 29.03 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/1.26, allocations: 158.5 kB / 1.314 GB, free: 28.9 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/1.26, allocations: 36.97 kB / 1.314 GB, free: 28.87 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/1.26, allocations: 56.53 kB / 1.314 GB, free: 28.84 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 5.347e-05/1.26, allocations: 339 kB / 1.314 GB, free: 28.52 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/1.26, allocations: 100.8 kB / 1.315 GB, free: 28.49 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/1.261, allocations: 173.2 kB / 1.315 GB, free: 28.37 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/1.261, allocations: 273.8 kB / 1.315 GB, free: 28.18 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.261, allocations: 3 kB / 1.315 GB, free: 28.18 MB / 1.061 GB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007651/1.262, allocations: 373 kB / 1.315 GB, free: 28 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/1.262, allocations: 65.56 kB / 1.315 GB, free: 27.94 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/1.262, allocations: 7 kB / 1.315 GB, free: 27.94 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.262, allocations: 2.75 kB / 1.315 GB, free: 27.94 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/1.262, allocations: 30.28 kB / 1.315 GB, free: 27.93 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/1.262, allocations: 2.625 kB / 1.315 GB, free: 27.93 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/1.263, allocations: 85.2 kB / 1.316 GB, free: 27.93 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/1.263, allocations: 21.62 kB / 1.316 GB, free: 27.92 MB / 1.061 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.0001147/1.263, allocations: 149.4 kB / 1.316 GB, free: 27.79 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/1.263, allocations: 23.61 kB / 1.316 GB, free: 27.77 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/1.263, allocations: 25.53 kB / 1.316 GB, free: 27.75 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.263, allocations: 3.984 kB / 1.316 GB, free: 27.75 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.263, allocations: 6.906 kB / 1.316 GB, free: 27.75 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.263, allocations: 2.938 kB / 1.316 GB, free: 27.75 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/1.263, allocations: 229.9 kB / 1.316 GB, free: 27.55 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.263, allocations: 7.938 kB / 1.316 GB, free: 27.54 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/1.263, allocations: 26.25 kB / 1.316 GB, free: 27.54 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.263, allocations: 0 / 1.316 GB, free: 27.54 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/1.263, allocations: 10.11 kB / 1.316 GB, free: 27.54 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.263, allocations: 6.812 kB / 1.316 GB, free: 27.54 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.263, allocations: 4 kB / 1.316 GB, free: 27.53 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/1.264, allocations: 242.4 kB / 1.316 GB, free: 27.39 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/1.264, allocations: 21.12 kB / 1.316 GB, free: 27.38 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/1.264, allocations: 6.906 kB / 1.316 GB, free: 27.37 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/1.264, allocations: 18.47 kB / 1.316 GB, free: 27.37 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/1.264, allocations: 15.64 kB / 1.316 GB, free: 27.37 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/1.264, allocations: 2.469 kB / 1.316 GB, free: 27.37 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 9.826e-05/1.264, allocations: 168.1 kB / 1.316 GB, free: 27.26 MB / 1.061 GB
Notification: Performance of sort global known variables: time 6e-08/1.264, allocations: 0 / 1.316 GB, free: 27.26 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002833/1.264, allocations: 54.33 kB / 1.317 GB, free: 27.25 MB / 1.061 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.000141/1.264, allocations: 117.3 kB / 1.317 GB, free: 27.15 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0006822/1.265, allocations: 313.6 kB / 1.317 GB, free: 26.98 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.265, allocations: 4.125 kB / 1.317 GB, free: 26.97 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002542/1.265, allocations: 67.53 kB / 1.317 GB, free: 26.96 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/1.266, allocations: 55.72 kB / 1.317 GB, free: 26.94 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/1.266, allocations: 381.5 kB / 1.317 GB, free: 26.68 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/1.266, allocations: 0.7494 MB / 1.318 GB, free: 25.97 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 9.976e-05/1.266, allocations: 33.48 kB / 1.318 GB, free: 25.97 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/1.266, allocations: 18.56 kB / 1.318 GB, free: 25.96 MB / 1.061 GB
Notification: Performance of SimCode: time 3.51e-07/1.266, allocations: 0 / 1.318 GB, free: 25.96 MB / 1.061 GB
Notification: Performance of Templates: time 0.006283/1.273, allocations: 3.231 MB / 1.321 GB, free: 25.7 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.05023125000298]