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.001594/0.001594, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002087/0.002087, allocations: 216 kB / 22.99 MB, free: 4.945 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.208/3.208, allocations: 0.5107 GB / 0.8166 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.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.002146/0.002146, allocations: 68.09 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3694, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001912/0.3713, allocations: 0.5901 MB / 1.365 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.078e-05/0.3714, allocations: 4 kB / 1.365 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.3714, allocations: 4 kB / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.3714, allocations: 0 / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.38e-05/0.3715, allocations: 0 / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.78e-05/0.3715, allocations: 3.938 kB / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.483e-05/0.3715, allocations: 7.922 kB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.3716, allocations: 4 kB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.3716, allocations: 0 / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.829e-05/0.3716, allocations: 0 / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.3717, allocations: 0 / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.837e-06/0.3717, allocations: 0 / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.3717, allocations: 4 kB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.3717, allocations: 7.938 kB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.183e-05/0.3718, allocations: 4 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3718, allocations: 0 / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3718, allocations: 0 / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.3718, allocations: 0 / 1.365 GB, free: 12.93 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.0003601/0.3721, allocations: 242.4 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3722, allocations: 8.031 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.3722, allocations: 0.9375 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3723, allocations: 114.5 kB / 1.366 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.3723, allocations: 384 / 1.366 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.3723, allocations: 384 / 1.366 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.825e-05/0.3724, allocations: 34.27 kB / 1.366 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3724, allocations: 3.938 kB / 1.366 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-06/0.3724, allocations: 3.938 kB / 1.366 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3724, allocations: 0 / 1.366 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.607e-05/0.3724, allocations: 3.984 kB / 1.366 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.3728, allocations: 331.2 kB / 1.366 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3729, allocations: 173.6 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.3729, allocations: 88.02 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.373, allocations: 75.28 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.373, allocations: 105.8 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.373, allocations: 8 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.235e-05/0.3731, allocations: 37.69 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.3732, allocations: 126.7 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.3733, allocations: 89.86 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3733, allocations: 29.7 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.3733, allocations: 80.14 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.3733, allocations: 3.938 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.3734, allocations: 9.719 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3735, allocations: 310.8 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-06/0.3735, allocations: 128 / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-06/0.3735, allocations: 11.94 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.882e-05/0.3736, allocations: 75.28 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-05/0.3736, allocations: 75.28 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.849e-05/0.3737, allocations: 41.56 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.3737, allocations: 83.28 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-05/0.3738, allocations: 75.28 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.323e-05/0.3738, allocations: 154.5 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/0.3739, allocations: 79.28 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-05/0.374, allocations: 154.5 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-05/0.3741, allocations: 75.28 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.3741, allocations: 83.28 kB / 1.368 GB, free: 10.02 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.0001511/0.3742, allocations: 269.4 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.989e-05/0.3743, allocations: 108.9 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/0.3744, allocations: 105 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.556e-05/0.3745, allocations: 180.2 kB / 1.369 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.27e-05/0.3746, allocations: 180.3 kB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.307e-05/0.3747, allocations: 184.2 kB / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.3749, allocations: 352.9 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.146e-05/0.375, allocations: 101 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.375, allocations: 112.9 kB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.658e-05/0.3751, allocations: 184.2 kB / 1.37 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.326e-05/0.3752, allocations: 184.2 kB / 1.37 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.961e-05/0.3753, allocations: 180.6 kB / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.604e-05/0.3754, allocations: 176.3 kB / 1.37 GB, free: 7.629 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.3755, allocations: 315.8 kB / 1.37 GB, free: 7.297 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.3756, allocations: 108.9 kB / 1.371 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-05/0.3757, allocations: 180.3 kB / 1.371 GB, free: 7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.3758, allocations: 101 kB / 1.371 GB, free: 6.895 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3759, allocations: 184.2 kB / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/0.3759, allocations: 109 kB / 1.371 GB, free: 6.594 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.376, allocations: 79.28 kB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.376, allocations: 0 / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002584/0.3762, allocations: 3.938 kB / 1.371 GB, free: 6.512 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.0001513/0.3764, allocations: 174.5 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.154e-05/0.3764, allocations: 3.938 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3764, allocations: 0 / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.3764, allocations: 0 / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.3769, allocations: 455.7 kB / 1.372 GB, free: 5.875 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.3772, allocations: 182 kB / 1.372 GB, free: 5.664 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.239e-05/0.3773, allocations: 59.45 kB / 1.372 GB, free: 5.586 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.278e-05/0.3773, allocations: 7.438 kB / 1.372 GB, free: 5.578 MB / 1.061 GB Notification: Performance of SimCode: time 3.6e-07/0.3773, allocations: 0 / 1.372 GB, free: 5.578 MB / 1.061 GB Notification: Performance of Templates: time 0.001564/0.3788, allocations: 315.9 kB / 1.372 GB, free: 5.27 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.00465938495472]