Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_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_10_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.001425/0.001425, allocations: 118.9 kB / 16.37 MB, free: 6.016 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.00157/0.00157, allocations: 193 kB / 17.31 MB, free: 5.613 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 72.17 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2971, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002071/0.2992, allocations: 0.6417 MB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001467/0.2993, allocations: 8 kB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.2994, allocations: 4 kB / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.2995, allocations: 7.922 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.566e-05/0.2996, allocations: 0 / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.473e-05/0.2996, allocations: 3.938 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.411e-05/0.2997, allocations: 31.86 kB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2999, allocations: 31.98 kB / 1.02 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.2999, allocations: 15.98 kB / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.78e-05/0.3, allocations: 19.86 kB / 1.02 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.3, allocations: 0 / 1.02 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.3, allocations: 4 kB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.3001, allocations: 12 kB / 1.02 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.3001, allocations: 19.86 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.3002, allocations: 47.81 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3002, allocations: 0 / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3002, allocations: 0 / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3002, allocations: 0 / 1.02 GB, free: 8.98 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.0003738/0.3006, allocations: 359.3 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3007, allocations: 8.031 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.3007, allocations: 8.844 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.3009, allocations: 184.2 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3009, allocations: 8.359 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.3009, allocations: 4.375 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3011, allocations: 78.16 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.3011, allocations: 192 / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3011, allocations: 7.938 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3011, allocations: 4 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.3012, allocations: 47.91 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.3017, allocations: 491.1 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.223e-05/0.3018, allocations: 173.1 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.3018, allocations: 80.14 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.3019, allocations: 79.28 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3019, allocations: 105.8 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.3019, allocations: 4 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.149e-05/0.302, allocations: 33.61 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.302, allocations: 130.6 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3022, allocations: 180.2 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.3022, allocations: 25.7 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.3023, allocations: 96.05 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.3023, allocations: 112 / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.3023, allocations: 13.66 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3024, allocations: 326.8 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.3025, allocations: 4 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/0.3025, allocations: 11.98 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/0.3025, allocations: 12.84 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3025, allocations: 0 / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001084/0.3026, allocations: 57.53 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3027, allocations: 7.938 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3027, allocations: 96 / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3027, allocations: 8 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.96e-05/0.3027, allocations: 0 / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.3028, allocations: 3.938 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.3028, allocations: 7.938 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3028, allocations: 4 kB / 1.022 GB, free: 6.238 MB / 0.795 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.0001045/0.3029, allocations: 193.8 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.303, allocations: 108.9 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.303, allocations: 124.8 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-05/0.3031, allocations: 176.3 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-05/0.3032, allocations: 180.2 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.195e-05/0.3032, allocations: 185.7 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.3035, allocations: 421.2 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.003e-05/0.3035, allocations: 104.9 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.3036, allocations: 105 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.358e-05/0.3036, allocations: 180.3 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.738e-05/0.3037, allocations: 180.2 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6e-05/0.3038, allocations: 184.3 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.856e-05/0.3038, allocations: 188.1 kB / 1.024 GB, free: 3.812 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.304, allocations: 303.8 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.3041, allocations: 197.9 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/0.3042, allocations: 176.3 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.953e-05/0.3043, allocations: 105.2 kB / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.3043, allocations: 188.2 kB / 1.025 GB, free: 2.793 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.3044, allocations: 109 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001016/0.3045, allocations: 135.2 kB / 1.025 GB, free: 2.547 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3045, allocations: 0 / 1.025 GB, free: 2.547 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002343/0.3048, allocations: 4 kB / 1.025 GB, free: 2.543 MB / 0.795 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.0002226/0.305, allocations: 182.5 kB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.695e-05/0.3051, allocations: 12 kB / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3051, allocations: 4.062 kB / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.3051, allocations: 0 / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.3055, allocations: 458.3 kB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.3058, allocations: 220.2 kB / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.3061, allocations: 0.6923 MB / 1.027 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.3061, allocations: 15.98 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.3062, allocations: 7.438 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3062, allocations: 0 / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of Templates: time 0.002402/0.3086, allocations: 470.4 kB / 1.027 GB, free: 456 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches