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.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.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.005255/0.005255, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001177/0.001177, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.695/2.695, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.91 kB / 1.019 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3819, allocations: 151.6 MB / 1.167 GB, free: 6.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002212/0.3842, allocations: 0.7044 MB / 1.167 GB, free: 6.184 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3854, allocations: 0.8082 MB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.3854, allocations: 0 / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.3855, allocations: 3.938 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.053e-05/0.3856, allocations: 11.92 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.835e-05/0.3856, allocations: 11.97 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.053e-05/0.3857, allocations: 43.86 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3859, allocations: 15.98 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.386, allocations: 19.94 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.386, allocations: 19.91 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.386, allocations: 4 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.386, allocations: 4 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.3861, allocations: 8 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.3861, allocations: 19.86 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.3862, allocations: 43.8 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3862, allocations: 0 / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3863, allocations: 0 / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.3863, allocations: 4 kB / 1.168 GB, free: 5.156 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.0005787/0.3869, allocations: 367.3 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3869, allocations: 8.031 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.387, allocations: 8.828 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.3871, allocations: 172.3 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3871, allocations: 8.375 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.3872, allocations: 4.375 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.3874, allocations: 66.22 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3874, allocations: 192 / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3875, allocations: 7.938 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3875, allocations: 0 / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.3877, allocations: 63.92 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.3881, allocations: 276.7 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.3883, allocations: 66.45 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3885, allocations: 44.92 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.3885, allocations: 0 / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.3886, allocations: 34.55 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3886, allocations: 4 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005071/0.3891, allocations: 125.5 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3891, allocations: 51.41 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.3892, allocations: 109.8 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.3892, allocations: 29.7 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.3893, allocations: 84.14 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.3893, allocations: 15.89 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.3894, allocations: 13.72 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3895, allocations: 314.8 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.3896, allocations: 31.95 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.3898, allocations: 31.97 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.39, allocations: 68.78 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3901, allocations: 3.938 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002939/0.3904, allocations: 101.6 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3904, allocations: 6.031 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3904, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3904, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.3905, allocations: 19.97 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3906, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.3906, allocations: 15.98 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3906, allocations: 0 / 1.17 GB, free: 2.82 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 8.09e-05/0.3907, allocations: 117.8 kB / 1.171 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.3908, allocations: 3.953 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.3908, allocations: 7.906 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3908, allocations: 4 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3908, allocations: 0 / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3908, allocations: 0 / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.391, allocations: 177.6 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.391, allocations: 3.938 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.785e-05/0.3911, allocations: 11.98 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3911, allocations: 4 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3911, allocations: 7.938 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3911, allocations: 7.938 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3911, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.3915, allocations: 195.7 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.3916, allocations: 85.06 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.3916, allocations: 4 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3917, allocations: 7.984 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.3917, allocations: 12.02 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3917, allocations: 0 / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.344e-05/0.3918, allocations: 83.28 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3918, allocations: 4 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002135/0.392, allocations: 7.938 kB / 1.171 GB, free: 1.988 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.0001475/0.3922, allocations: 107.2 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003495/0.3925, allocations: 71.86 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3925, allocations: 0 / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.3927, allocations: 35.97 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.393, allocations: 11.94 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.3934, allocations: 117.4 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.3936, allocations: 0.6807 MB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.3937, allocations: 0 / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.3937, allocations: 11.44 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.3937, allocations: 0 / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of Templates: time 0.002952/0.3967, allocations: 0.674 MB / 1.173 GB, free: 236 kB / 0.92 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 -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/jenkins/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