Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001696/0.001696, allocations: 110 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.001728/0.001728, allocations: 186.8 kB / 22.23 MB, free: 5.164 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.551/1.551, allocations: 225.6 MB / 251 MB, free: 12.99 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.359/3.359, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 70.98 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4198, allocations: 174.9 MB / 1.316 GB, free: 9.641 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002568/0.4224, allocations: 0.6593 MB / 1.317 GB, free: 8.98 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0001811/0.4225, allocations: 8 kB / 1.317 GB, free: 8.973 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.4226, allocations: 7.938 kB / 1.317 GB, free: 8.965 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.4227, allocations: 0 / 1.317 GB, free: 8.965 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 4.132e-05/0.4228, allocations: 0 / 1.317 GB, free: 8.965 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 9.713e-05/0.4229, allocations: 11.98 kB / 1.317 GB, free: 8.953 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001142/0.423, allocations: 19.92 kB / 1.317 GB, free: 8.934 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.4231, allocations: 27.97 kB / 1.317 GB, free: 8.906 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.4232, allocations: 11.94 kB / 1.317 GB, free: 8.895 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.4232, allocations: 15.92 kB / 1.317 GB, free: 8.879 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.4232, allocations: 4 kB / 1.317 GB, free: 8.875 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.4233, allocations: 4 kB / 1.317 GB, free: 8.871 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.4233, allocations: 15.94 kB / 1.317 GB, free: 8.855 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.4233, allocations: 15.88 kB / 1.317 GB, free: 8.84 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.4235, allocations: 55.67 kB / 1.317 GB, free: 8.785 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.4235, allocations: 0 / 1.317 GB, free: 8.785 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.264e-06/0.4235, allocations: 0 / 1.317 GB, free: 8.785 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.025e-06/0.4235, allocations: 0 / 1.317 GB, free: 8.785 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: 11
 * Number of variables: 11
Notification: Performance of Generate backend data structure: time 0.0004675/0.424, allocations: 274.2 kB / 1.317 GB, free: 8.484 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.424, allocations: 8.031 kB / 1.317 GB, free: 8.477 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.4241, allocations: 8.891 kB / 1.317 GB, free: 8.469 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.4243, allocations: 118.5 kB / 1.317 GB, free: 8.328 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.4243, allocations: 8.375 kB / 1.317 GB, free: 8.32 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.4243, allocations: 8.359 kB / 1.317 GB, free: 8.312 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.4245, allocations: 78.17 kB / 1.317 GB, free: 8.23 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4245, allocations: 192 / 1.317 GB, free: 8.23 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.4245, allocations: 3.938 kB / 1.317 GB, free: 8.227 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.4245, allocations: 4 kB / 1.317 GB, free: 8.223 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.233e-05/0.4246, allocations: 51.91 kB / 1.317 GB, free: 8.172 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.4253, allocations: 458.6 kB / 1.318 GB, free: 7.68 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.4254, allocations: 177.1 kB / 1.318 GB, free: 7.496 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.4254, allocations: 84.14 kB / 1.318 GB, free: 7.41 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.4255, allocations: 75.28 kB / 1.318 GB, free: 7.336 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.417e-05/0.4256, allocations: 105.8 kB / 1.318 GB, free: 7.223 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.4256, allocations: 4 kB / 1.318 GB, free: 7.219 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 9.738e-05/0.4256, allocations: 37.59 kB / 1.318 GB, free: 7.176 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/0.4257, allocations: 126.7 kB / 1.318 GB, free: 7.039 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.4259, allocations: 177.5 kB / 1.319 GB, free: 6.855 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.426, allocations: 29.69 kB / 1.319 GB, free: 6.82 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.426, allocations: 92.14 kB / 1.319 GB, free: 6.727 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.527e-06/0.426, allocations: 0 / 1.319 GB, free: 6.727 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.4261, allocations: 13.72 kB / 1.319 GB, free: 6.707 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000167/0.4262, allocations: 322.8 kB / 1.319 GB, free: 6.383 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.4263, allocations: 12 kB / 1.319 GB, free: 6.371 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.4263, allocations: 7.984 kB / 1.319 GB, free: 6.363 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.4263, allocations: 12.86 kB / 1.319 GB, free: 6.348 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4263, allocations: 4 kB / 1.319 GB, free: 6.344 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.000149/0.4265, allocations: 53.56 kB / 1.319 GB, free: 6.285 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4265, allocations: 4 kB / 1.319 GB, free: 6.281 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4265, allocations: 0 / 1.319 GB, free: 6.281 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.4265, allocations: 8.094 kB / 1.319 GB, free: 6.273 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.4266, allocations: 0 / 1.319 GB, free: 6.273 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4266, allocations: 4.047 kB / 1.319 GB, free: 6.27 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.4266, allocations: 19.83 kB / 1.319 GB, free: 6.25 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.4267, allocations: 4 kB / 1.319 GB, free: 6.246 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): 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 0.0001345/0.4268, allocations: 189.1 kB / 1.319 GB, free: 6.051 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.388e-05/0.4269, allocations: 105 kB / 1.319 GB, free: 5.941 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.392e-05/0.427, allocations: 124.7 kB / 1.32 GB, free: 5.809 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.591e-05/0.427, allocations: 176.3 kB / 1.32 GB, free: 5.629 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.103e-05/0.4271, allocations: 184.1 kB / 1.32 GB, free: 5.441 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-05/0.4272, allocations: 180.3 kB / 1.32 GB, free: 5.258 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.4275, allocations: 392.3 kB / 1.32 GB, free: 4.824 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.804e-05/0.4276, allocations: 104.9 kB / 1.321 GB, free: 4.715 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/0.4276, allocations: 105 kB / 1.321 GB, free: 4.605 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.68e-05/0.4277, allocations: 188.2 kB / 1.321 GB, free: 4.414 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.269e-05/0.4278, allocations: 176.3 kB / 1.321 GB, free: 4.234 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.161e-05/0.4279, allocations: 176.3 kB / 1.321 GB, free: 4.055 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.696e-05/0.428, allocations: 188.1 kB / 1.321 GB, free: 3.863 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.4282, allocations: 323.7 kB / 1.322 GB, free: 3.523 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.4282, allocations: 112.9 kB / 1.322 GB, free: 3.406 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.4283, allocations: 176.3 kB / 1.322 GB, free: 3.227 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.4284, allocations: 109.2 kB / 1.322 GB, free: 3.113 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-05/0.4285, allocations: 188.1 kB / 1.322 GB, free: 2.922 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.4286, allocations: 108.9 kB / 1.322 GB, free: 2.809 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001287/0.4287, allocations: 129.4 kB / 1.322 GB, free: 2.684 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4287, allocations: 0 / 1.322 GB, free: 2.684 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002421/0.429, allocations: 8 kB / 1.322 GB, free: 2.676 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.000168/0.4291, allocations: 171.1 kB / 1.323 GB, free: 2.5 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001044/0.4292, allocations: 16.03 kB / 1.323 GB, free: 2.484 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4292, allocations: 4.062 kB / 1.323 GB, free: 2.48 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.4292, allocations: 0 / 1.323 GB, free: 2.48 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.4298, allocations: 467.6 kB / 1.323 GB, free: 2.02 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.4302, allocations: 219.9 kB / 1.323 GB, free: 1.777 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.4305, allocations: 0.6963 MB / 1.324 GB, free: 1.055 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.995e-05/0.4305, allocations: 12 kB / 1.324 GB, free: 1.043 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.4306, allocations: 7.438 kB / 1.324 GB, free: 1.035 MB / 1.014 GB
Notification: Performance of SimCode: time 4.21e-07/0.4306, allocations: 0 / 1.324 GB, free: 1.035 MB / 1.014 GB
Notification: Performance of Templates: time 0.003272/0.4339, allocations: 478.5 kB / 1.324 GB, free: 0.5703 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.337790782563388]