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.00187/0.00187, allocations: 113.9 kB / 18.94 MB, free: 2.789 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.002119/0.002119, allocations: 190.1 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.491/1.491, 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.226/3.226, allocations: 496 MB / 0.7835 GB, free: 33.46 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.001969/0.001969, allocations: 64.36 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3797, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002417/0.3822, allocations: 1.024 MB / 1.308 GB, free: 0.793 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001907/0.3841, allocations: 1.338 MB / 1.31 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.3841, allocations: 3.938 kB / 1.31 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.3843, allocations: 15.8 kB / 1.31 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.3844, allocations: 51.58 kB / 1.31 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008378/0.3852, allocations: 285.9 kB / 1.31 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004864/0.3857, allocations: 379.2 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.3859, allocations: 53.77 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.3861, allocations: 147.7 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.3863, allocations: 135.5 kB / 1.311 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 6.541e-05/0.3864, allocations: 36 kB / 1.311 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.3865, allocations: 59.97 kB / 1.311 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 9.375e-05/0.3866, allocations: 59.78 kB / 1.311 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.3868, allocations: 139.3 kB / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004873/0.3873, allocations: 402.6 kB / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3873, allocations: 0 / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.673e-06/0.3873, allocations: 0 / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.292e-06/0.3873, allocations: 3.938 kB / 1.311 GB, free: 13.71 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.001032/0.3883, allocations: 0.5472 MB / 1.312 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3883, allocations: 12.92 kB / 1.312 GB, free: 13.1 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.309e-05/0.3884, allocations: 32.75 kB / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009438/0.3894, allocations: 301.2 kB / 1.312 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.3894, allocations: 12.38 kB / 1.312 GB, free: 12.73 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.3895, allocations: 24.31 kB / 1.312 GB, free: 12.71 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.39, allocations: 214.3 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.39, allocations: 3.938 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.39, allocations: 8 kB / 1.312 GB, free: 12.47 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.39, allocations: 4 kB / 1.312 GB, free: 12.46 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.3905, allocations: 147.7 kB / 1.313 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.3917, allocations: 0.8711 MB / 1.313 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.3921, allocations: 145 kB / 1.314 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.3923, allocations: 84.23 kB / 1.314 GB, free: 11.11 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.3923, allocations: 4 kB / 1.314 GB, free: 11.1 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/0.3927, allocations: 179.4 kB / 1.314 GB, free: 10.9 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.3927, allocations: 0 / 1.314 GB, free: 10.9 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11): time 0.0008767/0.3936, allocations: 257.6 kB / 1.314 GB, free: 10.64 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.3937, allocations: 158.2 kB / 1.314 GB, free: 10.45 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.394, allocations: 228.9 kB / 1.314 GB, free: 10.22 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.394, allocations: 29.7 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3941, allocations: 156.3 kB / 1.315 GB, free: 10.03 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.3942, allocations: 27.8 kB / 1.315 GB, free: 10 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.3943, allocations: 57.69 kB / 1.315 GB, free: 9.938 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001508/0.3945, allocations: 338.8 kB / 1.315 GB, free: 9.598 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.3948, allocations: 95.92 kB / 1.315 GB, free: 9.504 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.3952, allocations: 173.3 kB / 1.315 GB, free: 9.301 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/0.3957, allocations: 270.9 kB / 1.316 GB, free: 8.996 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3957, allocations: 0 / 1.316 GB, free: 8.996 MB / 1.014 GB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008613/0.3966, allocations: 380.6 kB / 1.316 GB, free: 8.605 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.3966, allocations: 63.39 kB / 1.316 GB, free: 8.531 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3967, allocations: 4 kB / 1.316 GB, free: 8.527 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3967, allocations: 8.219 kB / 1.316 GB, free: 8.52 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3968, allocations: 31.91 kB / 1.316 GB, free: 8.488 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3969, allocations: 4 kB / 1.316 GB, free: 8.484 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.3973, allocations: 88.25 kB / 1.316 GB, free: 8.398 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.3973, allocations: 16 kB / 1.316 GB, free: 8.383 MB / 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.0001664/0.3975, allocations: 157.6 kB / 1.316 GB, free: 8.219 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.3976, allocations: 27.86 kB / 1.316 GB, free: 8.191 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.3976, allocations: 17.33 kB / 1.316 GB, free: 8.168 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.3976, allocations: 7.984 kB / 1.316 GB, free: 8.16 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3976, allocations: 0 / 1.316 GB, free: 8.16 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3976, allocations: 4 kB / 1.316 GB, free: 8.156 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.3979, allocations: 228.5 kB / 1.316 GB, free: 7.891 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3979, allocations: 3.984 kB / 1.316 GB, free: 7.887 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.3981, allocations: 23.98 kB / 1.317 GB, free: 7.863 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.3981, allocations: 4 kB / 1.317 GB, free: 7.859 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.3981, allocations: 11.92 kB / 1.317 GB, free: 7.848 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3981, allocations: 0 / 1.317 GB, free: 7.848 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3981, allocations: 0 / 1.317 GB, free: 7.848 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/0.3987, allocations: 244.2 kB / 1.317 GB, free: 7.578 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.3988, allocations: 19.84 kB / 1.317 GB, free: 7.559 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.3988, allocations: 0 / 1.317 GB, free: 7.559 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.3989, allocations: 23.97 kB / 1.317 GB, free: 7.535 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.399, allocations: 11.98 kB / 1.317 GB, free: 7.523 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.399, allocations: 8 kB / 1.317 GB, free: 7.516 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001684/0.3992, allocations: 168.3 kB / 1.317 GB, free: 7.355 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.3992, allocations: 0 / 1.317 GB, free: 7.355 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003141/0.3995, allocations: 55.88 kB / 1.317 GB, free: 7.301 MB / 1.014 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.0002067/0.3997, allocations: 120 kB / 1.317 GB, free: 7.176 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0007828/0.4005, allocations: 306.5 kB / 1.317 GB, free: 6.852 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4005, allocations: 448 / 1.317 GB, free: 6.852 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.4007, allocations: 79.88 kB / 1.318 GB, free: 6.773 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.4011, allocations: 50.59 kB / 1.318 GB, free: 6.727 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.4018, allocations: 395.3 kB / 1.318 GB, free: 6.305 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.4022, allocations: 0.7515 MB / 1.319 GB, free: 5.527 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001169/0.4023, allocations: 29.62 kB / 1.319 GB, free: 5.496 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.4024, allocations: 19.44 kB / 1.319 GB, free: 5.477 MB / 1.014 GB
Notification: Performance of SimCode: time 2.7e-07/0.4024, allocations: 0 / 1.319 GB, free: 5.477 MB / 1.014 GB
Notification: Performance of Templates: time 0.007779/0.4102, allocations: 3.229 MB / 1.322 GB, free: 2.281 MB / 1.014 GB
"
[Timeout remaining time 300]
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: 9.37091392185539]