Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001779/0.001779, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002228/0.002228, allocations: 210.4 kB / 22.99 MB, free: 4.957 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.377/3.377, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.52 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3679, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002077/0.37, allocations: 0.5936 MB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.608e-05/0.37, allocations: 0 / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.37, allocations: 0 / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.3701, allocations: 0 / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.169e-05/0.3701, allocations: 0 / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.606e-05/0.3701, allocations: 4 kB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.499e-05/0.3702, allocations: 7.984 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.284e-05/0.3703, allocations: 0 / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.716e-05/0.3703, allocations: 3.938 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.55e-05/0.3703, allocations: 8 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.3703, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-06/0.3703, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.3703, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.885e-05/0.3704, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.271e-05/0.3704, allocations: 3.984 kB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3704, allocations: 3.938 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3704, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3704, allocations: 8 kB / 1.328 GB, free: 336 kB / 1.014 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.0003829/0.3708, allocations: 238.4 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3709, allocations: 8.031 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.3709, allocations: 4.938 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.371, allocations: 102.5 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3711, allocations: 8.312 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.3711, allocations: 4.359 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/0.3712, allocations: 26.27 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3712, allocations: 192 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3712, allocations: 3.938 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.3712, allocations: 11.94 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.535e-05/0.3712, allocations: 0 / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.3716, allocations: 339 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.3717, allocations: 165.6 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.3717, allocations: 84.17 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.3718, allocations: 79.22 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.519e-05/0.3718, allocations: 109.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3718, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.837e-05/0.3719, allocations: 37.62 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.372, allocations: 130.7 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.3721, allocations: 93.86 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3721, allocations: 25.7 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.3721, allocations: 80.14 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-06/0.3721, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.3722, allocations: 13.72 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3723, allocations: 310.8 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-06/0.3723, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-06/0.3723, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/0.3724, allocations: 79.28 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.971e-05/0.3724, allocations: 79.28 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.345e-05/0.3725, allocations: 37.56 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.3725, allocations: 83.41 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.3726, allocations: 79.28 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.012e-05/0.3726, allocations: 154.5 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.235e-05/0.3727, allocations: 75.28 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-05/0.3727, allocations: 154.6 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.752e-05/0.3728, allocations: 79.22 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.3729, allocations: 75.28 kB / 1.33 GB, free: 13.43 MB / 1.029 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.0001518/0.373, allocations: 268.4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.3731, allocations: 108.9 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.51e-05/0.3731, allocations: 104 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.868e-05/0.3732, allocations: 188.2 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-05/0.3733, allocations: 180.2 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.799e-05/0.3734, allocations: 184.2 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.3736, allocations: 356.8 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.937e-05/0.3737, allocations: 101 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.3737, allocations: 109 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-05/0.3738, allocations: 188.1 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.606e-05/0.3739, allocations: 180.3 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.652e-05/0.374, allocations: 184.5 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.719e-05/0.3741, allocations: 176.3 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.3743, allocations: 315.8 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.3743, allocations: 112.9 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/0.3744, allocations: 180.2 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.3745, allocations: 101 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.3746, allocations: 184.2 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.94e-05/0.3747, allocations: 105 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.817e-05/0.3747, allocations: 79.28 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3747, allocations: 4 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002515/0.375, allocations: 0 / 1.334 GB, free: 9.902 MB / 1.029 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.0001765/0.3751, allocations: 174.6 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.376e-05/0.3752, allocations: 4 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3752, allocations: 0 / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.3752, allocations: 3.938 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.3757, allocations: 457.4 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.376, allocations: 160.3 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.155e-05/0.376, allocations: 55.36 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.334e-06/0.376, allocations: 0 / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.3761, allocations: 7.438 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3761, allocations: 0 / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of Templates: time 0.002357/0.3784, allocations: 149 kB / 1.335 GB, free: 8.852 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.407985159006785]