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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008232/0.008232, allocations: 98.2 kB / 15.73 MB, free: 6.445 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.001648/0.001648, allocations: 194.3 kB / 16.67 MB, free: 6.348 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3521, allocations: 151.6 MB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002006/0.3542, allocations: 0.6969 MB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009988/0.3552, allocations: 0.8199 MB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.3553, allocations: 0 / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.37e-05/0.3553, allocations: 7.922 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.3554, allocations: 3.938 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.3555, allocations: 11.98 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.142e-05/0.3556, allocations: 39.92 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3558, allocations: 15.92 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.3558, allocations: 19.92 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.33e-05/0.3559, allocations: 27.91 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.3559, allocations: 4 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.3559, allocations: 4 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.356, allocations: 7.984 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.356, allocations: 15.88 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.3561, allocations: 39.81 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3561, allocations: 0 / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3561, allocations: 0 / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3562, allocations: 0 / 1.168 GB, free: 5.027 MB / 0.92 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.0005767/0.3567, allocations: 371.3 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3568, allocations: 8.031 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.3568, allocations: 8.891 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3569, allocations: 164.4 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.357, allocations: 4.375 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.357, allocations: 384 / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.3572, allocations: 74.14 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.3573, allocations: 8.188 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3573, allocations: 3.938 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.3573, allocations: 3.938 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.3576, allocations: 67.92 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.358, allocations: 264.9 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.3582, allocations: 66.41 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.3583, allocations: 40.91 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3584, allocations: 4 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.3584, allocations: 30.56 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3584, allocations: 4 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005402/0.3589, allocations: 125.6 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.359, allocations: 55.39 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.3591, allocations: 109.8 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3591, allocations: 33.64 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.3592, allocations: 88.12 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.3592, allocations: 7.906 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.3592, allocations: 17.72 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3594, allocations: 318.8 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3595, allocations: 27.97 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3597, allocations: 31.97 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.3599, allocations: 68.78 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3599, allocations: 3.938 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003028/0.3602, allocations: 101.6 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3603, allocations: 4 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3603, allocations: 0 / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3603, allocations: 7.938 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.3604, allocations: 11.98 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3604, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.476e-05/0.3605, allocations: 15.98 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3605, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 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 9.459e-05/0.3606, allocations: 117.8 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.3607, allocations: 7.938 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.361, allocations: 105.5 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.361, allocations: 0 / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.3611, allocations: 0 / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3611, allocations: 0 / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.3612, allocations: 169.6 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.3613, allocations: 4 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.3614, allocations: 27.84 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3614, allocations: 0 / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.3614, allocations: 0 / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3614, allocations: 0 / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3614, allocations: 4 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.3618, allocations: 199.4 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.3618, allocations: 81.05 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.3618, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.362, allocations: 15.97 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.362, allocations: 4 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.362, allocations: 8 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.3621, allocations: 87.56 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3621, allocations: 4 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002197/0.3623, allocations: 8 kB / 1.171 GB, free: 1.758 MB / 0.92 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.0001661/0.3625, allocations: 103.2 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.3628, allocations: 68.34 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3629, allocations: 0 / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.363, allocations: 43.89 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.3633, allocations: 7.938 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.3637, allocations: 117.6 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.364, allocations: 0.6846 MB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.373e-05/0.364, allocations: 11.92 kB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.364, allocations: 11.44 kB / 1.172 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of SimCode: time 2.7e-07/0.3641, allocations: 0 / 1.172 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of Templates: time 0.003006/0.3671, allocations: 0.6668 MB / 1.173 GB, free: 15.99 MB / 0.9356 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/jenkins/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