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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.00174, allocations: 113 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 186.6 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.91 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9464/0.9479, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002305/0.9503, allocations: 0.6527 MB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000144/0.9505, allocations: 8 kB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.9505, allocations: 4 kB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.578e-05/0.9506, allocations: 3.938 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.968e-05/0.9507, allocations: 0 / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.573e-05/0.9508, allocations: 8 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.666e-05/0.9509, allocations: 31.89 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.951, allocations: 35.98 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.637e-05/0.9511, allocations: 7.938 kB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.667e-05/0.9511, allocations: 15.92 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.9511, allocations: 4 kB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.9512, allocations: 4 kB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.9512, allocations: 11.94 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.9512, allocations: 23.88 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.9514, allocations: 47.8 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.9514, allocations: 3.938 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9514, allocations: 0 / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.9514, allocations: 0 / 1.209 GB, free: 12.74 MB / 0.9356 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.0003669/0.9518, allocations: 351.3 kB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.9518, allocations: 8.031 kB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.9518, allocations: 8.844 kB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.952, allocations: 176.3 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.952, allocations: 4.375 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.952, allocations: 8.375 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.9522, allocations: 78.17 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.9522, allocations: 4.125 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.9522, allocations: 7.938 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.9523, allocations: 3.984 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.9523, allocations: 47.91 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.9528, allocations: 488.9 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.372e-05/0.9529, allocations: 173.1 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.9529, allocations: 80.14 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.953, allocations: 75.28 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.953, allocations: 109.8 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.663e-06/0.953, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.954e-05/0.9531, allocations: 41.64 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.9531, allocations: 51.41 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.9533, allocations: 179.8 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.9533, allocations: 25.7 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.9534, allocations: 96.12 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.9534, allocations: 0 / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.9534, allocations: 13.72 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.9535, allocations: 314.8 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.9535, allocations: 15.98 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.9536, allocations: 4 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.9536, allocations: 20.84 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.9536, allocations: 0 / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001131/0.9537, allocations: 53.53 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.9537, allocations: 8.109 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.9538, allocations: 7.922 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.9538, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.375e-05/0.9538, allocations: 4.094 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.9538, allocations: 7.938 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.9539, allocations: 4 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.9539, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 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.0001025/0.954, allocations: 197.1 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.9541, allocations: 108.9 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.9541, allocations: 112.8 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.461e-05/0.9542, allocations: 184.2 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.834e-05/0.9542, allocations: 109 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/0.9543, allocations: 193.9 kB / 1.213 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/0.9544, allocations: 176.3 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.068e-05/0.9545, allocations: 108.9 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.978e-05/0.9546, allocations: 180.3 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001001/0.9547, allocations: 263.5 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001585/0.9549, allocations: 379 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.821e-05/0.9549, allocations: 108.9 kB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001101/0.955, allocations: 141 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of Backend: time 3e-07/0.955, allocations: 0 / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003783/0.9554, allocations: 93.36 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006504/0.9561, allocations: 0.8857 MB / 1.215 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of Templates: time 0.002541/0.9586, allocations: 0.5512 MB / 1.215 GB, free: 6.176 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches