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.001867/0.001867, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002718/0.002718, allocations: 215.5 kB / 22.25 MB, free: 4.855 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.662/1.662, allocations: 230.6 MB / 256 MB, free: 7.812 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.533/3.533, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 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.00218/0.00218, allocations: 71.38 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4608, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002553/0.4634, allocations: 0.588 MB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.904e-05/0.4634, allocations: 7.984 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.4634, allocations: 0 / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.4635, allocations: 0 / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.584e-05/0.4635, allocations: 3.938 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.383e-05/0.4636, allocations: 0 / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.648e-05/0.4636, allocations: 0 / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.4637, allocations: 15.98 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.664e-05/0.4637, allocations: 3.938 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.136e-05/0.4638, allocations: 0 / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.4638, allocations: 0 / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.799e-06/0.4638, allocations: 0 / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.4638, allocations: 0 / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.4638, allocations: 0 / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.932e-05/0.4639, allocations: 4 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4639, allocations: 0 / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4639, allocations: 0 / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.4639, allocations: 0 / 1.364 GB, free: 12.95 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004178/0.4643, allocations: 246.4 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4644, allocations: 11.97 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.4644, allocations: 0.9375 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.4645, allocations: 106.5 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4646, allocations: 384 / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.4646, allocations: 4.312 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.4647, allocations: 34.2 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4647, allocations: 192 / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4647, allocations: 3.938 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4647, allocations: 0 / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.4647, allocations: 4 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.4651, allocations: 331.2 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.4652, allocations: 173.5 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.4653, allocations: 80.14 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.4653, allocations: 79.22 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/0.4654, allocations: 109.8 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4654, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.836e-05/0.4655, allocations: 33.7 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.4656, allocations: 126.7 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.4657, allocations: 93.84 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.4657, allocations: 29.83 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.4658, allocations: 84.14 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.4658, allocations: 3.938 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.4658, allocations: 9.719 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4659, allocations: 314.8 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-06/0.466, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.466, allocations: 4 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/0.466, allocations: 75.28 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-05/0.466, allocations: 75.28 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.931e-05/0.4661, allocations: 29.64 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.4662, allocations: 83.28 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.741e-05/0.4662, allocations: 91.19 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.691e-05/0.4663, allocations: 150.6 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.611e-05/0.4663, allocations: 79.28 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.014e-05/0.4664, allocations: 158.5 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.545e-05/0.4665, allocations: 75.28 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.4666, allocations: 87.22 kB / 1.367 GB, free: 10.04 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 (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.0001453/0.4667, allocations: 260.3 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.4668, allocations: 108.9 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.858e-05/0.4668, allocations: 109 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.779e-05/0.4669, allocations: 180.2 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001003/0.467, allocations: 184.3 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.565e-05/0.4671, allocations: 184.2 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.4674, allocations: 348.9 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.345e-05/0.4674, allocations: 105 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.4675, allocations: 108.9 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.349e-05/0.4675, allocations: 184.2 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.189e-05/0.4676, allocations: 192.1 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.721e-05/0.4677, allocations: 176.6 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.531e-05/0.4678, allocations: 180.2 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.468, allocations: 307.9 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.468, allocations: 116.8 kB / 1.37 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.4681, allocations: 176.3 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-05/0.4682, allocations: 108.9 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.4683, allocations: 176.3 kB / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.4684, allocations: 105 kB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.084e-05/0.4684, allocations: 83.27 kB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4684, allocations: 0 / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002734/0.4687, allocations: 0 / 1.37 GB, free: 6.531 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 (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.000205/0.4689, allocations: 174.5 kB / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.614e-05/0.4689, allocations: 4.094 kB / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4689, allocations: 0 / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4689, allocations: 0 / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.4694, allocations: 455.7 kB / 1.371 GB, free: 5.895 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.4697, allocations: 152.3 kB / 1.371 GB, free: 5.719 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.394e-05/0.4698, allocations: 59.34 kB / 1.371 GB, free: 5.641 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.365e-06/0.4698, allocations: 0 / 1.371 GB, free: 5.641 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.4698, allocations: 7.438 kB / 1.371 GB, free: 5.633 MB / 1.061 GB Notification: Performance of SimCode: time 8.82e-07/0.4698, allocations: 0 / 1.371 GB, free: 5.633 MB / 1.061 GB Notification: Performance of Templates: time 0.002568/0.4724, allocations: 140.9 kB / 1.371 GB, free: 5.496 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/jenkins/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.921760644763708]