Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.001451, allocations: 173.2 kB / 16.92 MB, free: 6.652 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.452/1.452, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7608/0.7612, allocations: 142.4 MB / 0.9557 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0008835/0.7621, allocations: 387.7 kB / 0.9561 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001349/0.7623, allocations: 14.11 kB / 0.9561 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.7623, allocations: 0 / 0.9561 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.464e-05/0.7624, allocations: 4.969 kB / 0.9561 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.755e-05/0.7625, allocations: 1.094 kB / 0.9561 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.982e-05/0.7626, allocations: 4.969 kB / 0.9561 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.7627, allocations: 26.7 kB / 0.9562 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.7628, allocations: 32.05 kB / 0.9562 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.334e-05/0.7628, allocations: 7.312 kB / 0.9562 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.185e-05/0.7629, allocations: 10.3 kB / 0.9562 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.7629, allocations: 0 / 0.9562 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.7629, allocations: 1.281 kB / 0.9562 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.7629, allocations: 15.11 kB / 0.9562 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.763, allocations: 44.58 kB / 0.9563 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.607e-05/0.7631, allocations: 26.56 kB / 0.9563 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7631, allocations: 1.281 kB / 0.9563 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7631, allocations: 0 / 0.9563 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.7631, allocations: 0 / 0.9563 GB, free: 7.309 MB / 0.7169 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.0002596/0.7634, allocations: 335.5 kB / 0.9566 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.7634, allocations: 13.42 kB / 0.9566 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.7634, allocations: 7.469 kB / 0.9566 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.7636, allocations: 180.4 kB / 0.9568 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.7636, allocations: 6.375 kB / 0.9568 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.7636, allocations: 3.219 kB / 0.9568 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.7638, allocations: 83.5 kB / 0.9569 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.7638, allocations: 1.125 kB / 0.9569 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.7638, allocations: 3.938 kB / 0.9569 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.7638, allocations: 2.125 kB / 0.9569 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.37e-05/0.7639, allocations: 52.31 kB / 0.9569 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.7644, allocations: 492 kB / 0.9574 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.284e-05/0.7644, allocations: 170.3 kB / 0.9576 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.7645, allocations: 85.39 kB / 0.9577 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.7645, allocations: 75.28 kB / 0.9577 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.7645, allocations: 110.9 kB / 0.9578 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.7645, allocations: 4 kB / 0.9578 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.758e-05/0.7646, allocations: 41 kB / 0.9579 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.7646, allocations: 126.7 kB / 0.958 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.7648, allocations: 174.5 kB / 0.9582 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.762e-06/0.7648, allocations: 25.7 kB / 0.9582 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.7648, allocations: 92.55 kB / 0.9583 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.7649, allocations: 0 / 0.9583 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.7649, allocations: 13.7 kB / 0.9583 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.7649, allocations: 322 kB / 0.9586 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.765, allocations: 7.953 kB / 0.9586 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.765, allocations: 8.062 kB / 0.9586 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.765, allocations: 18.16 kB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.765, allocations: 0 / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001127/0.7651, allocations: 51.53 kB / 0.9587 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.7652, allocations: 6.125 kB / 0.9587 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.7652, allocations: 0 / 0.9587 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.7652, allocations: 96 / 0.9587 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.7653, allocations: 6.781 kB / 0.9587 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.7653, allocations: 5.344 kB / 0.9587 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.7653, allocations: 6.828 kB / 0.9587 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.7653, allocations: 2.562 kB / 0.9587 GB, free: 4.836 MB / 0.7169 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 6.979e-05/0.7654, allocations: 191 kB / 0.9589 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.7654, allocations: 115.8 kB / 0.959 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.7655, allocations: 116.4 kB / 0.9591 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/0.7655, allocations: 185.5 kB / 0.9593 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.827e-05/0.7655, allocations: 188.1 kB / 0.9595 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/0.7656, allocations: 181.4 kB / 0.9596 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.7657, allocations: 422.2 kB / 0.96 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.7657, allocations: 102.3 kB / 0.9601 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.7658, allocations: 105 kB / 0.9602 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-05/0.7658, allocations: 182.7 kB / 0.9604 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.7658, allocations: 182 kB / 0.9606 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.652e-05/0.7659, allocations: 185.5 kB / 0.9608 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.472e-05/0.7659, allocations: 180.2 kB / 0.9609 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.912e-05/0.766, allocations: 309.8 kB / 0.9612 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.766, allocations: 194.4 kB / 0.9614 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.7661, allocations: 181.5 kB / 0.9616 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.741e-05/0.7661, allocations: 102.4 kB / 0.9617 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.7662, allocations: 193.3 kB / 0.9619 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.7662, allocations: 106.9 kB / 0.962 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.966e-05/0.7663, allocations: 133.9 kB / 0.9621 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7663, allocations: 3.938 kB / 0.9621 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002109/0.7665, allocations: 4.375 kB / 0.9621 GB, free: 1.203 MB / 0.7169 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.0001317/0.7666, allocations: 173.2 kB / 0.9623 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.724e-05/0.7667, allocations: 10 kB / 0.9623 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7667, allocations: 0 / 0.9623 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.7667, allocations: 13.14 kB / 0.9623 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.7671, allocations: 0.521 MB / 0.9628 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.7674, allocations: 250.7 kB / 0.963 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.7677, allocations: 0.6973 MB / 0.9637 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.7677, allocations: 8.469 kB / 0.9637 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.7677, allocations: 0 / 0.9637 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.002131/0.7698, allocations: 0.7517 MB / 0.9645 GB, free: 15.16 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches