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.001406/0.001406, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001663/0.001663, allocations: 160.7 kB / 23.01 MB, free: 4.602 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: 177.2 MB / 203.4 MB, free: 8.91 MB / 190.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 2.891/2.891, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 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.002311/0.002311, allocations: 63.91 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.037, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00179/1.038, allocations: 0.5834 MB / 1.187 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 3.938e-05/1.038, allocations: 5.625 kB / 1.187 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/1.038, allocations: 4 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/1.038, allocations: 1.438 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.312e-05/1.038, allocations: 3.938 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.072e-05/1.038, allocations: 3.938 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.48e-05/1.039, allocations: 5.656 kB / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.729e-05/1.039, allocations: 2.172 kB / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.858e-05/1.039, allocations: 1.156 kB / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 2.183e-05/1.039, allocations: 0.75 kB / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/1.039, allocations: 0 / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.609e-06/1.039, allocations: 1 kB / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/1.039, allocations: 4 kB / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/1.039, allocations: 5.25 kB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/1.039, allocations: 10.94 kB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.039, allocations: 0 / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.095e-06/1.039, allocations: 0.7969 kB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.092e-06/1.039, allocations: 0 / 1.187 GB, free: 15.82 MB / 1.076 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.0002569/1.039, allocations: 236.2 kB / 1.187 GB, free: 15.56 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.039, allocations: 9.312 kB / 1.187 GB, free: 15.56 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/1.039, allocations: 2.344 kB / 1.187 GB, free: 15.56 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.758e-05/1.039, allocations: 105.2 kB / 1.188 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/1.039, allocations: 384 / 1.188 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/1.039, allocations: 5.844 kB / 1.188 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.896e-05/1.039, allocations: 32.44 kB / 1.188 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.039, allocations: 4.125 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/1.039, allocations: 3.938 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/1.039, allocations: 1.25 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.681e-05/1.039, allocations: 2.328 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/1.04, allocations: 329.2 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.481e-05/1.04, allocations: 167.1 kB / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/1.04, allocations: 85.48 kB / 1.188 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/1.04, allocations: 79.22 kB / 1.188 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/1.04, allocations: 111.9 kB / 1.188 GB, free: 14.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/1.04, allocations: 0 / 1.188 GB, free: 14.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.218e-05/1.04, allocations: 27.95 kB / 1.188 GB, free: 14.56 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/1.04, allocations: 128.1 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.408e-05/1.04, allocations: 96.78 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-06/1.04, allocations: 25.7 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.066e-05/1.04, allocations: 81.52 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/1.04, allocations: 0 / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/1.04, allocations: 11.7 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.527e-05/1.04, allocations: 313 kB / 1.189 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/1.04, allocations: 8.062 kB / 1.189 GB, free: 13.87 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-06/1.04, allocations: 0 / 1.189 GB, free: 13.87 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.296e-05/1.04, allocations: 76.72 kB / 1.189 GB, free: 13.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.04, allocations: 75.28 kB / 1.189 GB, free: 13.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.957e-05/1.04, allocations: 38.58 kB / 1.189 GB, free: 13.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.04, allocations: 80.38 kB / 1.189 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.04, allocations: 80.53 kB / 1.189 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.711e-05/1.04, allocations: 160.7 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.2e-05/1.04, allocations: 76.03 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/1.04, allocations: 156.8 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/1.04, allocations: 77.08 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/1.04, allocations: 81.45 kB / 1.19 GB, free: 13 MB / 1.076 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 5.763e-05/1.04, allocations: 266.4 kB / 1.19 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/1.04, allocations: 110.7 kB / 1.19 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/1.04, allocations: 106.1 kB / 1.19 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/1.04, allocations: 181.8 kB / 1.191 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-05/1.04, allocations: 178.8 kB / 1.191 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.407e-05/1.04, allocations: 182.6 kB / 1.191 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/1.04, allocations: 354.9 kB / 1.191 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.04, allocations: 106.2 kB / 1.191 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/1.04, allocations: 107 kB / 1.191 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.242e-05/1.041, allocations: 186 kB / 1.192 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/1.041, allocations: 185.9 kB / 1.192 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.772e-05/1.041, allocations: 180.1 kB / 1.192 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.489e-05/1.041, allocations: 182.9 kB / 1.192 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.674e-05/1.041, allocations: 301.6 kB / 1.192 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/1.041, allocations: 111.8 kB / 1.193 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/1.041, allocations: 182.1 kB / 1.193 GB, free: 10.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/1.041, allocations: 107.4 kB / 1.193 GB, free: 9.902 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/1.041, allocations: 182.1 kB / 1.193 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/1.041, allocations: 103.6 kB / 1.193 GB, free: 9.613 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.661e-05/1.041, allocations: 81.03 kB / 1.193 GB, free: 9.535 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/1.041, allocations: 0 / 1.193 GB, free: 9.535 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002457/1.041, allocations: 0 / 1.193 GB, free: 9.535 MB / 1.076 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.0001001/1.041, allocations: 170.8 kB / 1.193 GB, free: 9.371 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.217e-05/1.041, allocations: 5.375 kB / 1.193 GB, free: 9.367 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.041, allocations: 0 / 1.193 GB, free: 9.367 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/1.041, allocations: 0 / 1.193 GB, free: 9.367 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/1.041, allocations: 462.3 kB / 1.194 GB, free: 8.918 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/1.042, allocations: 155.4 kB / 1.194 GB, free: 8.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.447e-05/1.042, allocations: 58.95 kB / 1.194 GB, free: 8.676 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.174e-06/1.042, allocations: 3.938 kB / 1.194 GB, free: 8.672 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-06/1.042, allocations: 8.5 kB / 1.194 GB, free: 8.664 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/1.042, allocations: 1.438 kB / 1.194 GB, free: 8.664 MB / 1.076 GB Notification: Performance of Templates: time 0.002057/1.044, allocations: 154.7 kB / 1.194 GB, free: 8.598 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.15959122905042]