Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 108 kB / 15.6 MB, free: 132 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.001884/0.001884, allocations: 198 kB / 16.54 MB, free: 6.672 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.727/2.727, allocations: 437 MB / 0.7103 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7578/0.7591, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001996/0.7611, allocations: 0.6613 MB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000887/0.7621, allocations: 0.8001 MB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.7621, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.7621, allocations: 3.938 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.7622, allocations: 7.984 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.7624, allocations: 15.92 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.828e-05/0.7624, allocations: 15.98 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.7626, allocations: 8 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.7626, allocations: 7.938 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.7627, allocations: 15.92 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.7627, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.7627, allocations: 4 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.7627, allocations: 7.938 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.7628, allocations: 3.984 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.002e-05/0.7629, allocations: 35.89 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7629, allocations: 4 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7629, allocations: 3.938 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.7629, allocations: 0 / 1.019 GB, free: 0.8945 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004836/0.7634, allocations: 333.4 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.7634, allocations: 8.031 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.7634, allocations: 4.938 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.7636, allocations: 164.3 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.7636, allocations: 384 / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-06/0.7636, allocations: 8.375 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.7638, allocations: 50.22 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.7638, allocations: 192 / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.7638, allocations: 7.938 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.7638, allocations: 0 / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.764, allocations: 35.89 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.7643, allocations: 245 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.7644, allocations: 42.5 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.325e-05/0.7645, allocations: 24.89 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.7645, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.7646, allocations: 30.56 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.7646, allocations: 4 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003404/0.7649, allocations: 85.52 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.765, allocations: 51.41 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.765, allocations: 101.9 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.7651, allocations: 25.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.7651, allocations: 88.12 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.7651, allocations: 11.97 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.7652, allocations: 13.72 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7653, allocations: 314.8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.7654, allocations: 15.98 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-05/0.7654, allocations: 19.97 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.7656, allocations: 44.83 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7656, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001832/0.7658, allocations: 69.59 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.7658, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.7658, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.7658, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.403e-05/0.7659, allocations: 7.984 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.7659, allocations: 4.031 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.766, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.766, allocations: 0 / 1.021 GB, free: 14.88 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 (2): * Single equations (assignments): 2 * 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.998e-05/0.7661, allocations: 117.8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.7661, allocations: 3.906 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.7663, allocations: 76.72 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.7664, allocations: 7.969 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7664, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.7664, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.7665, allocations: 157.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7666, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.7666, allocations: 15.98 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.7666, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.7666, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7666, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7666, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.7669, allocations: 171.4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.7669, allocations: 77.11 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.7669, allocations: 3.984 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.767, allocations: 7.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.7671, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.7671, allocations: 3.984 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.838e-05/0.7671, allocations: 91.48 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7671, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002062/0.7673, allocations: 4 kB / 1.021 GB, free: 14.05 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 (2): * Single equations (assignments): 2 * 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.0001299/0.7675, allocations: 95.25 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.7677, allocations: 39.95 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7677, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.7678, allocations: 27.98 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.7681, allocations: 3.938 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.7683, allocations: 109.5 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.7686, allocations: 0.6768 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.965e-05/0.7686, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.7686, allocations: 15.5 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7686, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.002181/0.7708, allocations: 434 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches