Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 204.2 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.65/1.65, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.619/3.619, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 67.17 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4372, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002145/0.4393, allocations: 0.6945 MB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.4405, allocations: 0.828 MB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.4406, allocations: 0 / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.4e-05/0.4406, allocations: 3.938 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.098e-05/0.4407, allocations: 3.938 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.567e-05/0.4408, allocations: 15.98 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.526e-05/0.4409, allocations: 39.91 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.441, allocations: 8 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.223e-05/0.4411, allocations: 19.91 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.4411, allocations: 23.92 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.4411, allocations: 7.938 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.206e-06/0.4411, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.4412, allocations: 15.92 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.4412, allocations: 15.94 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.4413, allocations: 43.81 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4413, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4413, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.4413, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 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.0005761/0.4419, allocations: 290.2 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4419, allocations: 8.031 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.442, allocations: 8.891 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.4421, allocations: 114.5 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.4421, allocations: 384 / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.4422, allocations: 8.375 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.4425, allocations: 66.2 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.4425, allocations: 3.938 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.4425, allocations: 7.938 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4425, allocations: 4 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.4428, allocations: 63.88 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.4433, allocations: 208.6 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.4435, allocations: 54.48 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.4437, allocations: 48.91 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.4438, allocations: 3.938 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.4438, allocations: 30.56 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.4438, allocations: 4 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0006246/0.4444, allocations: 129.6 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.4445, allocations: 51.41 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.4446, allocations: 109.8 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4446, allocations: 25.7 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.4447, allocations: 88.14 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.4448, allocations: 7.906 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.4448, allocations: 17.72 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.445, allocations: 314.8 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.4451, allocations: 31.97 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.4453, allocations: 39.89 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.4456, allocations: 69.08 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4456, allocations: 0 / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003397/0.4459, allocations: 109.5 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.4459, allocations: 4 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.4459, allocations: 0 / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.446, allocations: 0 / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.4461, allocations: 19.98 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.4461, allocations: 0 / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.098e-05/0.4462, allocations: 15.94 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.4462, allocations: 0 / 1.367 GB, free: 9.742 MB / 1.061 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 0.0001322/0.4463, allocations: 121.7 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.4464, allocations: 0 / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.4464, allocations: 11.98 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.4464, allocations: 4 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4464, allocations: 0 / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4464, allocations: 0 / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.4466, allocations: 113.2 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.4466, allocations: 3.938 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.4467, allocations: 11.98 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.4467, allocations: 3.938 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.4467, allocations: 4 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4467, allocations: 4.312 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4467, allocations: 0 / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.4471, allocations: 195.4 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.4472, allocations: 7.938 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.4472, allocations: 3.938 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4473, allocations: 11.98 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.4473, allocations: 11.98 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.4473, allocations: 0 / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.188e-05/0.4474, allocations: 95.25 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4474, allocations: 0 / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002218/0.4476, allocations: 4 kB / 1.368 GB, free: 9.078 MB / 1.061 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.0001511/0.4478, allocations: 95.25 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.4482, allocations: 67.92 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4482, allocations: 3.938 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.4484, allocations: 35.91 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.4488, allocations: 18.88 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.4492, allocations: 109.7 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.323e-05/0.4493, allocations: 63.34 kB / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.4494, allocations: 4 kB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.4494, allocations: 11.44 kB / 1.368 GB, free: 8.625 MB / 1.061 GB Notification: Performance of SimCode: time 8.01e-07/0.4494, allocations: 0 / 1.368 GB, free: 8.625 MB / 1.061 GB Notification: Performance of Templates: time 0.004055/0.4535, allocations: 0.7468 MB / 1.369 GB, free: 7.891 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.172378776594996]