Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 106.6 kB / 16.37 MB, free: 6.008 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.001621/0.001621, allocations: 193.9 kB / 17.3 MB, free: 5.617 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.47/2.47, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002303, allocations: 68.38 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3662, allocations: 151.6 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001876/0.3681, allocations: 0.7078 MB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000813/0.3689, allocations: 0.804 MB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.369, allocations: 0 / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.369, allocations: 3.938 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.473e-05/0.3691, allocations: 7.938 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.349e-05/0.3691, allocations: 15.97 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.378e-05/0.3692, allocations: 43.8 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3693, allocations: 19.97 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.3694, allocations: 12 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.3694, allocations: 23.91 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.3694, allocations: 7.938 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-06/0.3695, allocations: 4 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.3695, allocations: 4 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.3695, allocations: 15.92 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.783e-05/0.3696, allocations: 39.81 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3696, allocations: 0 / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3696, allocations: 0 / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3696, allocations: 0 / 1.02 GB, free: 8.098 MB / 0.795 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.0004613/0.3701, allocations: 371.3 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.3701, allocations: 12.92 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.3702, allocations: 0.9375 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3703, allocations: 180.2 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.3703, allocations: 384 / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3703, allocations: 4.375 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.3705, allocations: 70.22 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3705, allocations: 192 / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3705, allocations: 3.938 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3706, allocations: 3.984 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.3708, allocations: 63.92 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.3711, allocations: 272.9 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.3713, allocations: 58.47 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.3715, allocations: 36.92 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.3715, allocations: 0 / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.3715, allocations: 38.56 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.3715, allocations: 0 / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004751/0.372, allocations: 137.4 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.3721, allocations: 51.41 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.3721, allocations: 105.8 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3722, allocations: 33.7 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.3722, allocations: 84.14 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.3722, allocations: 11.8 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.3723, allocations: 21.66 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3724, allocations: 310.8 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.3725, allocations: 35.95 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3726, allocations: 31.97 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.3729, allocations: 72.72 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3729, allocations: 3.938 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002869/0.3732, allocations: 101.6 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3732, allocations: 4 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.3732, allocations: 0 / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.3732, allocations: 0 / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3733, allocations: 19.97 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3734, allocations: 0 / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.831e-05/0.3734, allocations: 11.98 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3734, allocations: 0 / 1.023 GB, free: 5.762 MB / 0.795 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.069e-05/0.3735, allocations: 117.8 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.3736, allocations: 7.906 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.3736, allocations: 7.906 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3736, allocations: 0 / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3736, allocations: 0 / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3736, allocations: 4 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.3738, allocations: 169.6 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3738, allocations: 4 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.981e-05/0.3739, allocations: 15.98 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3739, allocations: 4 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3739, allocations: 0 / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.374, allocations: 4 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.374, allocations: 0 / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.3743, allocations: 199.7 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.3743, allocations: 88.95 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.3744, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3745, allocations: 15.98 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.3745, allocations: 3.984 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.3745, allocations: 4 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.891e-05/0.3746, allocations: 83.28 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3746, allocations: 0 / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002112/0.3748, allocations: 8 kB / 1.023 GB, free: 4.941 MB / 0.795 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.0001204/0.3749, allocations: 103.2 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.3752, allocations: 71.86 kB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3752, allocations: 0 / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.3754, allocations: 31.97 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.3756, allocations: 23.81 kB / 1.023 GB, free: 4.703 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.3759, allocations: 129.6 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.3762, allocations: 0.6807 MB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.692e-05/0.3762, allocations: 0 / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.3762, allocations: 11.44 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3762, allocations: 0 / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of Templates: time 0.002695/0.3789, allocations: 0.6731 MB / 1.025 GB, free: 3.168 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches