Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00159/0.001589, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001489/0.001488, allocations: 200.7 kB / 16.26 MB, free: 6.621 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.059/3.059, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 72.11 kB / 0.8986 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3674, allocations: 157.4 MB / 1.052 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002264/0.3698, allocations: 0.732 MB / 1.053 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3708, allocations: 0.7962 MB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.3709, allocations: 4 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.3709, allocations: 3.938 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.371, allocations: 0 / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.3712, allocations: 4 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.3713, allocations: 31.92 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3714, allocations: 7.984 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.109e-05/0.3715, allocations: 15.92 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.443e-05/0.3715, allocations: 4 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3715, allocations: 7.938 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-06/0.3715, allocations: 0 / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.3716, allocations: 11.92 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.3716, allocations: 11.98 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.155e-05/0.3717, allocations: 23.91 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3717, allocations: 4 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3717, allocations: 0 / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.3717, allocations: 0 / 1.054 GB, free: 7.039 MB / 0.8106 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.00058/0.3723, allocations: 331.8 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3724, allocations: 12.62 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.3724, allocations: 4.844 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.3726, allocations: 172.2 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3726, allocations: 4.375 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.3726, allocations: 384 / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3728, allocations: 50.25 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3728, allocations: 4.172 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.3729, allocations: 3.938 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3729, allocations: 0 / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.373, allocations: 31.97 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.3734, allocations: 248.9 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3736, allocations: 46.47 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.156e-05/0.3737, allocations: 20.91 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.3737, allocations: 0 / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3738, allocations: 34.56 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3738, allocations: 0 / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003481/0.3741, allocations: 85.58 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3742, allocations: 55.41 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.454e-05/0.3743, allocations: 97.84 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3743, allocations: 29.7 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.3743, allocations: 80.14 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.3744, allocations: 7.906 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.3744, allocations: 13.84 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3745, allocations: 318.8 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.3746, allocations: 15.98 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.624e-05/0.3747, allocations: 15.98 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.3748, allocations: 40.89 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3748, allocations: 0 / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000183/0.375, allocations: 73.44 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.375, allocations: 8 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.375, allocations: 0 / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3751, allocations: 0 / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.3752, allocations: 7.984 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.3752, allocations: 15.92 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.3752, allocations: 12.02 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.3752, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 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 7.305e-05/0.3753, allocations: 115.3 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.3753, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.3756, allocations: 68.78 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3756, allocations: 0 / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.3756, allocations: 32 / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3756, allocations: 7.938 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3758, allocations: 161.6 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3758, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.3758, allocations: 11.98 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3759, allocations: 0 / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3759, allocations: 8.125 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3759, allocations: 0 / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3759, allocations: 0 / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.3761, allocations: 167.4 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.3762, allocations: 81.11 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.3762, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.3763, allocations: 7.984 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.3763, allocations: 4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3763, allocations: 0 / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.3764, allocations: 79.28 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3764, allocations: 4.031 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002016/0.3766, allocations: 4 kB / 1.056 GB, free: 4.207 MB / 0.8106 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.0001694/0.3767, allocations: 103.2 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.377, allocations: 35.97 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.377, allocations: 0 / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.3771, allocations: 24.05 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3774, allocations: 11.86 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.3777, allocations: 105.5 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.378, allocations: 0.6768 MB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.271e-05/0.378, allocations: 3.938 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.3781, allocations: 15.44 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3781, allocations: 4.062 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of Templates: time 0.002331/0.3804, allocations: 379.3 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches