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.009292/0.009292, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001652/0.001652, allocations: 193.5 kB / 16.67 MB, free: 5.965 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.435/1.435, allocations: 222.9 MB / 240.4 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.585/2.585, allocations: 461.9 MB / 0.7347 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.89 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.065, 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.001924/1.067, allocations: 0.6413 MB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001693/1.067, allocations: 15.94 kB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/1.067, allocations: 0 / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/1.068, allocations: 3.938 kB / 1.208 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.809e-05/1.068, allocations: 0 / 1.208 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.437e-05/1.068, allocations: 4 kB / 1.208 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/1.068, allocations: 39.78 kB / 1.208 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/1.068, allocations: 32 kB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/1.068, allocations: 11.92 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.543e-05/1.068, allocations: 15.92 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/1.068, allocations: 4 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/1.068, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/1.068, allocations: 15.92 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/1.068, allocations: 23.88 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.589e-05/1.068, allocations: 43.88 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.068, allocations: 0 / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/1.068, allocations: 3.938 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.456e-06/1.068, allocations: 0 / 1.209 GB, free: 12.75 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.0003819/1.069, allocations: 351.3 kB / 1.209 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/1.069, allocations: 8.031 kB / 1.209 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/1.069, allocations: 12.84 kB / 1.209 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/1.069, allocations: 180.2 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/1.069, allocations: 4.375 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/1.069, allocations: 12.36 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/1.069, allocations: 74.23 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.069, allocations: 4.172 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/1.069, allocations: 3.938 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.069, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.391e-05/1.069, allocations: 47.97 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/1.07, allocations: 496.8 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.608e-05/1.07, allocations: 169.1 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/1.07, allocations: 84.08 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/1.07, allocations: 75.28 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/1.07, allocations: 105.8 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.442e-06/1.07, allocations: 0 / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.744e-05/1.07, allocations: 41.69 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/1.07, allocations: 126.7 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/1.071, allocations: 179.7 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/1.071, allocations: 25.7 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/1.071, allocations: 92.14 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-06/1.071, allocations: 3.984 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/1.071, allocations: 13.72 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.071, allocations: 318.8 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/1.071, allocations: 11.92 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/1.071, allocations: 4 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/1.071, allocations: 20.84 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.071, allocations: 0 / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001113/1.071, allocations: 49.59 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.071, allocations: 11.94 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/1.071, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/1.071, allocations: 96 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/1.071, allocations: 11.98 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/1.071, allocations: 3.938 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/1.071, allocations: 4 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/1.071, allocations: 0 / 1.211 GB, free: 10.03 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.0001188/1.071, allocations: 201 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.8e-05/1.071, allocations: 108.9 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/1.071, allocations: 108.9 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.376e-05/1.072, allocations: 188.2 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-05/1.072, allocations: 188.2 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.548e-05/1.072, allocations: 180.2 kB / 1.212 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/1.072, allocations: 413.2 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-05/1.072, allocations: 105.1 kB / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/1.072, allocations: 116.9 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-05/1.072, allocations: 180.2 kB / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.613e-05/1.072, allocations: 180.2 kB / 1.213 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.241e-05/1.072, allocations: 176.3 kB / 1.213 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-05/1.072, allocations: 184.2 kB / 1.213 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/1.073, allocations: 319.7 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/1.073, allocations: 186 kB / 1.214 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/1.073, allocations: 176.3 kB / 1.214 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/1.073, allocations: 117 kB / 1.214 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/1.073, allocations: 184.1 kB / 1.214 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/1.073, allocations: 105 kB / 1.214 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001104/1.073, allocations: 135.1 kB / 1.214 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.073, allocations: 0 / 1.214 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002235/1.073, allocations: 8 kB / 1.214 GB, free: 6.32 MB / 0.9356 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.000221/1.074, allocations: 170.5 kB / 1.215 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.519e-05/1.074, allocations: 16.27 kB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.074, allocations: 0 / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/1.074, allocations: 4.062 kB / 1.215 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/1.074, allocations: 469.3 kB / 1.215 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/1.074, allocations: 216.2 kB / 1.215 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/1.075, allocations: 0.6907 MB / 1.216 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.9e-05/1.075, allocations: 15.97 kB / 1.216 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/1.075, allocations: 11.44 kB / 1.216 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/1.075, allocations: 0 / 1.216 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of Templates: time 0.002505/1.077, allocations: 488.4 kB / 1.216 GB, free: 4.207 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/jenkins/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