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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001208/0.001208, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001235/0.001235, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.538/1.538, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.695/2.695, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 80.44 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3694, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00196/0.3714, allocations: 0.661 MB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001507/0.3715, allocations: 15.92 kB / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.3716, allocations: 0 / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.925e-05/0.3717, allocations: 3.938 kB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.465e-05/0.3717, allocations: 3.938 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.527e-05/0.3718, allocations: 7.984 kB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.618e-05/0.3719, allocations: 19.98 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.3721, allocations: 39.98 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.471e-05/0.3721, allocations: 11.94 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.421e-05/0.3722, allocations: 19.92 kB / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3722, allocations: 4 kB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.3722, allocations: 7.938 kB / 1.028 GB, free: 1.285 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.231e-05/0.3722, allocations: 7.938 kB / 1.028 GB, free: 1.277 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.3723, allocations: 23.86 kB / 1.028 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.413e-05/0.3724, allocations: 43.81 kB / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3724, allocations: 0 / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3724, allocations: 0 / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.3724, allocations: 0 / 1.028 GB, free: 1.211 MB / 0.795 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.0003708/0.3728, allocations: 359.4 kB / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3728, allocations: 8.031 kB / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3729, allocations: 8.844 kB / 1.028 GB, free: 0.793 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.373, allocations: 172.4 kB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3731, allocations: 4.375 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.3731, allocations: 4.375 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3732, allocations: 88.55 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3733, allocations: 192 / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3733, allocations: 7.938 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3733, allocations: 0 / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.952e-05/0.3734, allocations: 47.97 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.3739, allocations: 495 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.051e-05/0.374, allocations: 169.1 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/0.374, allocations: 80.14 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.3741, allocations: 75.28 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.3741, allocations: 117.8 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3741, allocations: 0 / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.625e-05/0.3742, allocations: 29.7 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.3743, allocations: 126.7 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3745, allocations: 175.9 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.3745, allocations: 25.7 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.3746, allocations: 104 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.3746, allocations: 0 / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.3746, allocations: 13.72 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.3747, allocations: 318.8 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.3748, allocations: 4 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.3748, allocations: 11.98 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.3748, allocations: 20.73 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3748, allocations: 0 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00011/0.3749, allocations: 57.64 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.375, allocations: 8 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.375, allocations: 112 / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.375, allocations: 3.938 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.375, allocations: 4 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3751, allocations: 3.938 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.3751, allocations: 7.938 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3751, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 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.0001287/0.3752, allocations: 205.1 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.3753, allocations: 108.8 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.3754, allocations: 116.8 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.934e-05/0.3755, allocations: 184.2 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.669e-05/0.3755, allocations: 180.2 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.956e-05/0.3756, allocations: 176.3 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3759, allocations: 425.1 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.741e-05/0.3759, allocations: 105 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.3759, allocations: 108.9 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.179e-05/0.376, allocations: 176.3 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/0.3761, allocations: 176.3 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-05/0.3762, allocations: 188.2 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.919e-05/0.3762, allocations: 196.2 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.3764, allocations: 303.7 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.762e-05/0.3765, allocations: 186.1 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.3766, allocations: 184.2 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.3767, allocations: 109.3 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.3768, allocations: 184.1 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.3768, allocations: 105 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001097/0.3769, allocations: 131.2 kB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.81e-07/0.3769, allocations: 0 / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002135/0.3772, allocations: 8 kB / 1.033 GB, free: 10.78 MB / 0.8106 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.0001762/0.3773, allocations: 178.5 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.948e-05/0.3774, allocations: 15.98 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3774, allocations: 3.938 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3774, allocations: 0 / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.3779, allocations: 458.2 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.3782, allocations: 224.2 kB / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.3785, allocations: 0.6885 MB / 1.035 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.3786, allocations: 15.97 kB / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.3786, allocations: 11.38 kB / 1.035 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3786, allocations: 3.938 kB / 1.035 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of Templates: time 0.002463/0.3811, allocations: 475.1 kB / 1.035 GB, free: 8.672 MB / 0.8106 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 -s cvode -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