Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001349/0.001349, allocations: 104.6 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.001548/0.001548, allocations: 187.8 kB / 22.1 MB, free: 4.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.499/1.499, allocations: 225.6 MB / 250.8 MB, free: 2.895 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 3.014/3.014, allocations: 495.8 MB / 0.783 GB, free: 12.27 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.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 63.89 kB / 1.137 GB, free: 12.13 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.306/1.308, allocations: 173.6 MB / 1.307 GB, free: 33.73 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001958/1.31, allocations: 0.6565 MB / 1.307 GB, free: 33.32 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0001541/1.311, allocations: 10.95 kB / 1.307 GB, free: 33.31 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/1.311, allocations: 0 / 1.307 GB, free: 33.31 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001181/1.311, allocations: 14.2 kB / 1.307 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 4.434e-05/1.311, allocations: 0 / 1.307 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 7.56e-05/1.311, allocations: 4 kB / 1.307 GB, free: 33.3 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 9.285e-05/1.311, allocations: 30.72 kB / 1.307 GB, free: 33.28 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/1.311, allocations: 20.19 kB / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.078e-05/1.311, allocations: 16.75 kB / 1.308 GB, free: 33.27 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.317e-05/1.311, allocations: 16.47 kB / 1.308 GB, free: 33.26 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.955e-05/1.311, allocations: 2.719 kB / 1.308 GB, free: 33.26 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/1.311, allocations: 2.75 kB / 1.308 GB, free: 33.26 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 3.467e-05/1.311, allocations: 10.89 kB / 1.308 GB, free: 33.25 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 3.401e-05/1.311, allocations: 17.53 kB / 1.308 GB, free: 33.24 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001024/1.311, allocations: 53.02 kB / 1.308 GB, free: 33.22 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/1.311, allocations: 0 / 1.308 GB, free: 33.22 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.585e-06/1.311, allocations: 3.938 kB / 1.308 GB, free: 33.21 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 7.313e-06/1.311, allocations: 0 / 1.308 GB, free: 33.21 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: 11
 * Number of variables: 11
Notification: Performance of Generate backend data structure: time 0.0003077/1.312, allocations: 279.7 kB / 1.308 GB, free: 32.93 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/1.312, allocations: 10.66 kB / 1.308 GB, free: 32.93 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/1.312, allocations: 7.672 kB / 1.308 GB, free: 32.93 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/1.312, allocations: 130.1 kB / 1.308 GB, free: 32.79 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/1.312, allocations: 3.125 kB / 1.308 GB, free: 32.79 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/1.312, allocations: 7.25 kB / 1.308 GB, free: 32.79 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/1.312, allocations: 74.64 kB / 1.308 GB, free: 32.74 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.312, allocations: 192 / 1.308 GB, free: 32.74 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/1.312, allocations: 7.938 kB / 1.308 GB, free: 32.73 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/1.312, allocations: 3.984 kB / 1.308 GB, free: 32.73 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.101e-05/1.312, allocations: 54.3 kB / 1.308 GB, free: 32.71 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/1.313, allocations: 447.8 kB / 1.309 GB, free: 32.3 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.511e-05/1.313, allocations: 179.9 kB / 1.309 GB, free: 32.12 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/1.313, allocations: 80.14 kB / 1.309 GB, free: 32.04 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/1.313, allocations: 79.22 kB / 1.309 GB, free: 31.96 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/1.313, allocations: 109.2 kB / 1.309 GB, free: 31.85 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=0): time 8.12e-07/1.313, allocations: 0 / 1.309 GB, free: 31.85 MB / 1.061 GB
Notification: Performance of matching and sorting (n=0): time 7.284e-05/1.313, allocations: 36.5 kB / 1.309 GB, free: 31.81 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/1.313, allocations: 133.2 kB / 1.309 GB, free: 31.67 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/1.313, allocations: 174 kB / 1.309 GB, free: 31.55 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 6.412e-06/1.313, allocations: 25.7 kB / 1.309 GB, free: 31.52 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/1.313, allocations: 97.58 kB / 1.309 GB, free: 31.42 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/1.313, allocations: 0 / 1.309 GB, free: 31.42 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/1.313, allocations: 19.7 kB / 1.31 GB, free: 31.4 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 5.253e-05/1.313, allocations: 317.9 kB / 1.31 GB, free: 31.09 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/1.313, allocations: 10.11 kB / 1.31 GB, free: 31.08 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/1.313, allocations: 12.95 kB / 1.31 GB, free: 31.08 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/1.313, allocations: 10.23 kB / 1.31 GB, free: 31.07 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.313, allocations: 0 / 1.31 GB, free: 31.07 MB / 1.061 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001101/1.313, allocations: 56.94 kB / 1.31 GB, free: 31.03 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/1.313, allocations: 5.156 kB / 1.31 GB, free: 31.03 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/1.313, allocations: 2.469 kB / 1.31 GB, free: 31.03 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/1.313, allocations: 0 / 1.31 GB, free: 31.03 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.027e-05/1.313, allocations: 10.94 kB / 1.31 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.313, allocations: 7.922 kB / 1.31 GB, free: 31.01 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/1.313, allocations: 11.02 kB / 1.31 GB, free: 31.01 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/1.313, allocations: 2.906 kB / 1.31 GB, free: 31.01 MB / 1.061 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): 1
 * 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 prepare postOptimizeDAE: time 6.2e-05/1.313, allocations: 197.6 kB / 1.31 GB, free: 30.81 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/1.313, allocations: 104.1 kB / 1.31 GB, free: 30.71 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/1.314, allocations: 115.2 kB / 1.31 GB, free: 30.59 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/1.314, allocations: 186.6 kB / 1.311 GB, free: 30.4 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/1.314, allocations: 184.1 kB / 1.311 GB, free: 30.21 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/1.314, allocations: 176.3 kB / 1.311 GB, free: 30.04 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/1.314, allocations: 392.3 kB / 1.311 GB, free: 29.62 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.314, allocations: 104.9 kB / 1.311 GB, free: 29.51 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/1.314, allocations: 103.9 kB / 1.311 GB, free: 29.41 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.448e-05/1.314, allocations: 184.3 kB / 1.312 GB, free: 29.22 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/1.314, allocations: 180.2 kB / 1.312 GB, free: 29.04 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.329e-05/1.314, allocations: 186.8 kB / 1.312 GB, free: 28.85 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-05/1.314, allocations: 184.1 kB / 1.312 GB, free: 28.66 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.758e-05/1.314, allocations: 314.7 kB / 1.312 GB, free: 28.34 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/1.314, allocations: 115.1 kB / 1.313 GB, free: 28.23 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/1.314, allocations: 179.3 kB / 1.313 GB, free: 28.05 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.276e-05/1.314, allocations: 104.9 kB / 1.313 GB, free: 27.94 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/1.314, allocations: 186.5 kB / 1.313 GB, free: 27.75 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/1.314, allocations: 104.9 kB / 1.313 GB, free: 27.64 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 7.288e-05/1.314, allocations: 139.7 kB / 1.313 GB, free: 27.55 MB / 1.061 GB
Notification: Performance of sort global known variables: time 6e-08/1.314, allocations: 0 / 1.313 GB, free: 27.55 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002157/1.314, allocations: 5.906 kB / 1.313 GB, free: 27.55 MB / 1.061 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.0001259/1.315, allocations: 169.2 kB / 1.313 GB, free: 27.39 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 7.822e-05/1.315, allocations: 13.41 kB / 1.313 GB, free: 27.38 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.315, allocations: 0 / 1.313 GB, free: 27.38 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 1.333e-06/1.315, allocations: 0 / 1.313 GB, free: 27.38 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/1.315, allocations: 465 kB / 1.314 GB, free: 26.93 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/1.315, allocations: 222.2 kB / 1.314 GB, free: 26.73 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/1.315, allocations: 0.694 MB / 1.315 GB, free: 26.03 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 2.499e-05/1.315, allocations: 9.891 kB / 1.315 GB, free: 26.03 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/1.315, allocations: 7.438 kB / 1.315 GB, free: 26.02 MB / 1.061 GB
Notification: Performance of SimCode: time 3.91e-07/1.315, allocations: 4 kB / 1.315 GB, free: 26.02 MB / 1.061 GB
Notification: Performance of Templates: time 0.002757/1.318, allocations: 476.9 kB / 1.315 GB, free: 25.95 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.949930185452104]