Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001798/0.001798, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001589/0.001589, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.278/3.278, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [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.002043/0.002043, allocations: 71.02 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3707, allocations: 180.2 MB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001858/0.3726, allocations: 0.5957 MB / 1.355 GB, free: 7.332 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 4.763e-05/0.3726, allocations: 7.938 kB / 1.355 GB, free: 7.324 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.3726, allocations: 0 / 1.355 GB, free: 7.324 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.3727, allocations: 0 / 1.355 GB, free: 7.324 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.738e-05/0.3727, allocations: 0 / 1.355 GB, free: 7.324 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.59e-05/0.3727, allocations: 4 kB / 1.355 GB, free: 7.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.335e-05/0.3728, allocations: 7.984 kB / 1.355 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.089e-05/0.3728, allocations: 0 / 1.355 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.3729, allocations: 0 / 1.355 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.797e-05/0.3729, allocations: 7.984 kB / 1.355 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.3729, allocations: 0 / 1.355 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-06/0.3729, allocations: 0 / 1.355 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.3729, allocations: 0 / 1.355 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.3729, allocations: 3.938 kB / 1.355 GB, free: 7.301 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 6.547e-05/0.373, allocations: 4 kB / 1.355 GB, free: 7.297 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.373, allocations: 0 / 1.355 GB, free: 7.297 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.373, allocations: 0 / 1.355 GB, free: 7.297 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.373, allocations: 4 kB / 1.355 GB, free: 7.293 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003333/0.3734, allocations: 238.4 kB / 1.355 GB, free: 7.027 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3734, allocations: 12.06 kB / 1.355 GB, free: 7.016 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.3734, allocations: 4.891 kB / 1.355 GB, free: 7.012 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.3735, allocations: 106.5 kB / 1.355 GB, free: 6.883 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.3735, allocations: 384 / 1.355 GB, free: 6.883 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3736, allocations: 4.375 kB / 1.355 GB, free: 6.879 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.3736, allocations: 30.27 kB / 1.355 GB, free: 6.844 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3737, allocations: 192 / 1.355 GB, free: 6.844 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3737, allocations: 7.938 kB / 1.355 GB, free: 6.836 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3737, allocations: 0 / 1.355 GB, free: 6.836 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.558e-05/0.3737, allocations: 4 kB / 1.355 GB, free: 6.832 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.374, allocations: 350.6 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.3741, allocations: 173.5 kB / 1.356 GB, free: 6.266 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/0.3742, allocations: 84.14 kB / 1.356 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.3742, allocations: 75.28 kB / 1.356 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.3743, allocations: 109.8 kB / 1.356 GB, free: 5.988 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3743, allocations: 0 / 1.356 GB, free: 5.988 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.467e-05/0.3744, allocations: 41.64 kB / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/0.3744, allocations: 130.7 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.3745, allocations: 97.86 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.3746, allocations: 25.7 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.3746, allocations: 80.14 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.3746, allocations: 0 / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.3746, allocations: 9.719 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3748, allocations: 318.8 kB / 1.357 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-06/0.3748, allocations: 0 / 1.357 GB, free: 5.246 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.3748, allocations: 4 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.286e-05/0.3748, allocations: 79.41 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-05/0.3748, allocations: 75.28 kB / 1.357 GB, free: 5.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.26e-05/0.3749, allocations: 33.62 kB / 1.357 GB, free: 5.051 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.3749, allocations: 83.28 kB / 1.357 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/0.375, allocations: 79.22 kB / 1.357 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.943e-05/0.375, allocations: 150.6 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.397e-05/0.3751, allocations: 79.22 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.847e-05/0.3751, allocations: 158.6 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.3752, allocations: 83.28 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.3753, allocations: 79.22 kB / 1.357 GB, free: 4.348 MB / 1.045 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 (0): * Single equations (assignments): 0 * 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.0001437/0.3754, allocations: 268.9 kB / 1.358 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.3755, allocations: 105 kB / 1.358 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.131e-05/0.3755, allocations: 112.1 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.202e-05/0.3756, allocations: 176.3 kB / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001067/0.3757, allocations: 188.2 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.606e-05/0.3758, allocations: 180.2 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.376, allocations: 372.2 kB / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.935e-05/0.3761, allocations: 113.5 kB / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.3761, allocations: 113 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.317e-05/0.3762, allocations: 180.2 kB / 1.359 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.957e-05/0.3763, allocations: 176.3 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.619e-05/0.3764, allocations: 180.6 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.09e-05/0.3764, allocations: 180.2 kB / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.3766, allocations: 319.7 kB / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.3767, allocations: 101 kB / 1.36 GB, free: 1.473 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.42e-05/0.3767, allocations: 176.3 kB / 1.36 GB, free: 1.293 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.89e-05/0.3768, allocations: 112.9 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.3769, allocations: 180.3 kB / 1.361 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/0.377, allocations: 108.9 kB / 1.361 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.377, allocations: 79.28 kB / 1.361 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.377, allocations: 3.938 kB / 1.361 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000259/0.3773, allocations: 0 / 1.361 GB, free: 0.7969 MB / 1.045 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 (0): * Single equations (assignments): 0 * 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.0001565/0.3774, allocations: 168.2 kB / 1.361 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 4.492e-05/0.3775, allocations: 7.938 kB / 1.361 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3775, allocations: 4.094 kB / 1.361 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.3775, allocations: 0 / 1.361 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3779, allocations: 463.6 kB / 1.361 GB, free: 156 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.3782, allocations: 178 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.3785, allocations: 0.669 MB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.3785, allocations: 11.44 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.3785, allocations: 0 / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of Templates: time 0.0017/0.3802, allocations: 320.8 kB / 1.362 GB, free: 14.93 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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: 11.15270487300586]