Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 100.1 kB / 15.88 MB, free: 12 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.001336/0.001336, allocations: 198.3 kB / 16.79 MB, free: 6.809 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.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.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.681/2.681, allocations: 437 MB / 0.7106 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 67.91 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7596, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.00239/0.7621, allocations: 0.7837 MB / 1.018 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.7631, allocations: 0.7962 MB / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.7632, allocations: 4 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/0.7633, allocations: 0 / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.99e-05/0.7634, allocations: 7.922 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.7635, allocations: 8 kB / 1.019 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.748e-05/0.7636, allocations: 51.78 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.7638, allocations: 12 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.7638, allocations: 7.984 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.7639, allocations: 27.91 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.7639, allocations: 0 / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.764, allocations: 4 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.764, allocations: 7.922 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.764, allocations: 11.94 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.615e-05/0.7641, allocations: 31.94 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7641, allocations: 4 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7641, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7641, allocations: 4 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005771/0.7647, allocations: 367 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.7648, allocations: 11.97 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.7648, allocations: 0.9375 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.765, allocations: 168.3 kB / 1.02 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.765, allocations: 384 / 1.02 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.765, allocations: 12.31 kB / 1.02 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.7653, allocations: 66.22 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.7653, allocations: 4.172 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.7653, allocations: 7.938 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.7653, allocations: 7.984 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.7656, allocations: 55.94 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.7661, allocations: 272.9 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.7663, allocations: 62.41 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.7664, allocations: 36.92 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.7665, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.7665, allocations: 38.55 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7665, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000557/0.7671, allocations: 125.5 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.7671, allocations: 63.34 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.7672, allocations: 105.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.7672, allocations: 25.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.7673, allocations: 92.12 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.7673, allocations: 7.844 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.7674, allocations: 13.72 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7675, allocations: 314.8 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.7677, allocations: 39.95 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.7678, allocations: 27.97 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.7681, allocations: 68.78 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7681, allocations: 3.938 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003275/0.7684, allocations: 105.5 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.7685, allocations: 6.344 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7685, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7685, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.7686, allocations: 19.97 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.7687, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.505e-05/0.7687, allocations: 15.98 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.7688, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 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 (3): * Single equations (assignments): 3 * 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 7.817e-05/0.7688, allocations: 121.7 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.7689, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.7692, allocations: 109.4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7693, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7693, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.7693, allocations: 3.984 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.7695, allocations: 173.9 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7695, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.934e-05/0.7696, allocations: 15.98 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.7696, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.7696, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.7696, allocations: 320 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7696, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.77, allocations: 199.4 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.77, allocations: 85.02 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.7701, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.7702, allocations: 15.92 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.7702, allocations: 7.984 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.7702, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.008e-05/0.7703, allocations: 95.25 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7703, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002336/0.7705, allocations: 8 kB / 1.022 GB, free: 13.77 MB / 0.7794 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 (3): * Single equations (assignments): 3 * 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.0001597/0.7707, allocations: 103.2 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.7711, allocations: 71.92 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7711, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.7712, allocations: 31.97 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.7716, allocations: 15.92 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.772, allocations: 160.9 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.7722, allocations: 0.6848 MB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.7723, allocations: 7.438 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7723, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of Templates: time 0.002165/0.7745, allocations: 0.7262 MB / 1.024 GB, free: 11.91 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches