Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.001334/0.001334, allocations: 108.8 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.001702/0.001702, allocations: 191.4 kB / 22.23 MB, free: 5.156 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.532/1.532, allocations: 225.6 MB / 251 MB, free: 13.01 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.481/3.481, allocations: 496 MB / 0.7835 GB, free: 33.62 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.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart")
translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002483/0.002483, allocations: 67.02 kB / 1.138 GB, free: 33.83 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/0.5178, allocations: 173.6 MB / 1.307 GB, free: 1.797 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002957/0.5208, allocations: 1.234 MB / 1.308 GB, free: 0.5508 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003464/0.5211, allocations: 56.17 kB / 1.309 GB, free: 0.4961 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.5212, allocations: 3.938 kB / 1.309 GB, free: 0.4922 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.335e-05/0.5212, allocations: 0 / 1.309 GB, free: 0.4922 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.5214, allocations: 7.984 kB / 1.309 GB, free: 496 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.5216, allocations: 11.94 kB / 1.309 GB, free: 484 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001199/0.5217, allocations: 19.97 kB / 1.309 GB, free: 464 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.5218, allocations: 0 / 1.309 GB, free: 464 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.5218, allocations: 7.938 kB / 1.309 GB, free: 456 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.313e-05/0.5219, allocations: 20.72 kB / 1.309 GB, free: 432 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.5219, allocations: 0 / 1.309 GB, free: 432 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.799e-05/0.522, allocations: 4 kB / 1.309 GB, free: 428 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 0.000124/0.5221, allocations: 52.38 kB / 1.309 GB, free: 376 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.5222, allocations: 39.75 kB / 1.309 GB, free: 336 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.5224, allocations: 79.45 kB / 1.309 GB, free: 256 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5224, allocations: 4 kB / 1.309 GB, free: 252 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 2.375e-06/0.5224, allocations: 0 / 1.309 GB, free: 252 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 8.216e-06/0.5224, allocations: 0 / 1.309 GB, free: 252 kB / 0.9981 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 0
 * Number of variables: 0
Notification: Performance of Generate backend data structure: time 0.0005924/0.523, allocations: 349.6 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.523, allocations: 12.92 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.5231, allocations: 92.11 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.5233, allocations: 206.3 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.181e-05/0.5234, allocations: 158.7 kB / 1.31 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.5235, allocations: 154.6 kB / 1.31 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.368e-05/0.5236, allocations: 104.9 kB / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.777e-05/0.5237, allocations: 75.28 kB / 1.31 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.5237, allocations: 150.6 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.396e-05/0.5238, allocations: 150.6 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.106e-05/0.5239, allocations: 162.5 kB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.5243, allocations: 468.9 kB / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.5245, allocations: 173 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.5245, allocations: 84.08 kB / 1.311 GB, free: 13.83 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.5245, allocations: 83.22 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.919e-05/0.5246, allocations: 109.8 kB / 1.311 GB, free: 13.63 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.5246, allocations: 0 / 1.311 GB, free: 13.63 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 0.0001057/0.5247, allocations: 37.61 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.5248, allocations: 126.7 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.5251, allocations: 231 kB / 1.312 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.5251, allocations: 25.7 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.5252, allocations: 120 kB / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.5252, allocations: 0 / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.5253, allocations: 41.69 kB / 1.312 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001682/0.5254, allocations: 326.8 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.192e-05/0.5255, allocations: 59.89 kB / 1.312 GB, free: 12.63 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.5256, allocations: 51.97 kB / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.5258, allocations: 144.7 kB / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5258, allocations: 0 / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003504/0.5262, allocations: 177.5 kB / 1.312 GB, free: 12.26 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.5262, allocations: 5.875 kB / 1.312 GB, free: 12.26 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.5262, allocations: 0 / 1.312 GB, free: 12.26 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.5262, allocations: 4 kB / 1.312 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.5262, allocations: 0 / 1.312 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5262, allocations: 3.938 kB / 1.312 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.5263, allocations: 19.78 kB / 1.312 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.5263, allocations: 4 kB / 1.312 GB, free: 12.23 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1):
 * Single equations (assignments): 0
 * Array equations: 1
 * Algorithm blocks: 0
 * 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.0001724/0.5264, allocations: 209 kB / 1.313 GB, free: 12.01 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.5265, allocations: 116.9 kB / 1.313 GB, free: 11.89 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.473e-05/0.5266, allocations: 117.5 kB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-05/0.5267, allocations: 180.2 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001001/0.5268, allocations: 176.3 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-05/0.5269, allocations: 184.2 kB / 1.313 GB, free: 11.22 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.5272, allocations: 412.2 kB / 1.314 GB, free: 10.77 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.727e-05/0.5273, allocations: 109 kB / 1.314 GB, free: 10.65 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-05/0.5273, allocations: 104.9 kB / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.64e-05/0.5274, allocations: 180.3 kB / 1.314 GB, free: 10.36 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.5275, allocations: 184.2 kB / 1.314 GB, free: 10.17 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.934e-05/0.5276, allocations: 180.3 kB / 1.315 GB, free: 9.988 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.142e-05/0.5277, allocations: 188.1 kB / 1.315 GB, free: 9.797 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.5279, allocations: 315.9 kB / 1.315 GB, free: 9.465 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/0.528, allocations: 120.8 kB / 1.315 GB, free: 9.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.5281, allocations: 180.3 kB / 1.315 GB, free: 9.156 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.5282, allocations: 108.9 kB / 1.315 GB, free: 9.043 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.5283, allocations: 176.3 kB / 1.316 GB, free: 8.863 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.5284, allocations: 109 kB / 1.316 GB, free: 8.75 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.000154/0.5285, allocations: 168.5 kB / 1.316 GB, free: 8.586 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.5285, allocations: 0 / 1.316 GB, free: 8.586 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002601/0.5288, allocations: 16 kB / 1.316 GB, free: 8.57 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 Backend phase and start with SimCode phase: time 0.0002274/0.529, allocations: 187.2 kB / 1.316 GB, free: 8.375 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001502/0.5292, allocations: 59.91 kB / 1.316 GB, free: 8.316 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5292, allocations: 0 / 1.316 GB, free: 8.316 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.5292, allocations: 0 / 1.316 GB, free: 8.316 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.5296, allocations: 455.7 kB / 1.317 GB, free: 7.867 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.5302, allocations: 302 kB / 1.317 GB, free: 7.539 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.5306, allocations: 0.708 MB / 1.318 GB, free: 6.805 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.819e-05/0.5307, allocations: 7.984 kB / 1.318 GB, free: 6.797 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.5307, allocations: 11.44 kB / 1.318 GB, free: 6.785 MB / 1.014 GB
Notification: Performance of SimCode: time 3.31e-07/0.5307, allocations: 3.938 kB / 1.318 GB, free: 6.781 MB / 1.014 GB
Notification: Performance of Templates: time 0.004062/0.5348, allocations: 0.7383 MB / 1.318 GB, free: 6.043 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.384484073147178]