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.001143/0.001143, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001933/0.003076, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001127/0.001127, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001944/0.003071, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9831/0.9831, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0985/1.082, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.942/1.942, allocations: 378.4 MB / 0.6079 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5789/2.521, allocations: 123.3 MB / 0.7283 GB, free: 5.707 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.056e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001195/0.001216, allocations: 0.6471 MB / 0.7303 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 1.738e-05/0.001233, allocations: 1.875 kB / 0.7303 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.001251, allocations: 0 / 0.7303 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.00127, allocations: 0.9688 kB / 0.7303 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.226e-05/0.001282, allocations: 3.938 kB / 0.7303 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 1.424e-05/0.001296, allocations: 0 / 0.7303 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.042e-05/0.001347, allocations: 6.703 kB / 0.7303 GB, free: 3.734 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.001385, allocations: 4 kB / 0.7303 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.001428, allocations: 1.094 kB / 0.7303 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.659e-05/0.001454, allocations: 0 / 0.7303 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.001472, allocations: 6.109 kB / 0.7303 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.328e-06/0.001476, allocations: 0 / 0.7303 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.001491, allocations: 4 kB / 0.7303 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.001506, allocations: 0.5469 kB / 0.7303 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.855e-05/0.001564, allocations: 5.719 kB / 0.7303 GB, free: 3.719 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/0.001577, allocations: 0.6562 kB / 0.7303 GB, free: 3.719 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.32e-07/0.001578, allocations: 4.906 kB / 0.7304 GB, free: 3.715 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.001591, allocations: 0 / 0.7304 GB, free: 3.715 MB / 0.698 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.0002523/0.001844, allocations: 210.1 kB / 0.7306 GB, free: 3.484 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.001875, allocations: 8.031 kB / 0.7306 GB, free: 3.477 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.001901, allocations: 4.938 kB / 0.7306 GB, free: 3.473 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.57e-05/0.001987, allocations: 107.3 kB / 0.7307 GB, free: 3.344 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.001998, allocations: 6.109 kB / 0.7307 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.002008, allocations: 384 / 0.7307 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.372e-05/0.002081, allocations: 34.2 kB / 0.7307 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.002088, allocations: 192 / 0.7307 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.002095, allocations: 0.9062 kB / 0.7307 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.002101, allocations: 2.438 kB / 0.7307 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.602e-06/0.002107, allocations: 3.938 kB / 0.7307 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.002284, allocations: 294.9 kB / 0.731 GB, free: 2.992 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.594e-05/0.00235, allocations: 169.7 kB / 0.7312 GB, free: 2.816 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.002373, allocations: 80.14 kB / 0.7312 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.002395, allocations: 80.86 kB / 0.7313 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.002432, allocations: 109.8 kB / 0.7314 GB, free: 2.539 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.002433, allocations: 0 / 0.7314 GB, free: 2.539 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.218e-05/0.002485, allocations: 29.3 kB / 0.7314 GB, free: 2.508 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.002537, allocations: 131.7 kB / 0.7316 GB, free: 2.367 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/0.002596, allocations: 99.53 kB / 0.7317 GB, free: 2.258 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.002604, allocations: 26.64 kB / 0.7317 GB, free: 2.227 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.002636, allocations: 84.12 kB / 0.7318 GB, free: 2.141 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.42e-07/0.002637, allocations: 0.5 kB / 0.7318 GB, free: 2.141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.582e-05/0.002653, allocations: 17.66 kB / 0.7318 GB, free: 2.117 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.002734, allocations: 315.7 kB / 0.7321 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-06/0.002737, allocations: 0 / 0.7321 GB, free: 1.801 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-06/0.00274, allocations: 1 kB / 0.7321 GB, free: 1.801 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.035e-05/0.00276, allocations: 79.28 kB / 0.7322 GB, free: 1.723 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.002779, allocations: 76.16 kB / 0.7322 GB, free: 1.648 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.134e-05/0.00281, allocations: 31.17 kB / 0.7323 GB, free: 1.613 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.002836, allocations: 79.28 kB / 0.7323 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.002858, allocations: 83.22 kB / 0.7324 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.547e-05/0.002903, allocations: 150.6 kB / 0.7326 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.023e-05/0.002924, allocations: 84.69 kB / 0.7326 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.716e-05/0.002961, allocations: 162.5 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.003009, allocations: 79.27 kB / 0.7329 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.003027, allocations: 81.56 kB / 0.733 GB, free: 0.9062 MB / 0.698 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 8.5e-05/0.003112, allocations: 260.4 kB / 0.7332 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.00315, allocations: 105 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.003191, allocations: 105.2 kB / 0.7334 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-05/0.003234, allocations: 184.2 kB / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.362e-05/0.003277, allocations: 184.2 kB / 0.7338 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.979e-05/0.003337, allocations: 185.1 kB / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.00346, allocations: 317.4 kB / 0.7342 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/0.003488, allocations: 104.9 kB / 0.7343 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.003514, allocations: 109.7 kB / 0.7344 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.003542, allocations: 105.9 kB / 0.7345 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.183e-05/0.003584, allocations: 185.9 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.003623, allocations: 176.3 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-05/0.003667, allocations: 180.6 kB / 0.7351 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.206e-05/0.003709, allocations: 188.2 kB / 0.7352 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.181e-05/0.003801, allocations: 304.5 kB / 0.7355 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.003848, allocations: 180.3 kB / 0.7357 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.297e-05/0.003891, allocations: 109.4 kB / 0.7358 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.003942, allocations: 181.4 kB / 0.736 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.003965, allocations: 101 kB / 0.7361 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.515e-05/0.00398, allocations: 13.55 kB / 0.7361 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00398, allocations: 0.75 kB / 0.7361 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001264/0.004106, allocations: 3.938 kB / 0.7361 GB, free: 13.52 MB / 0.7136 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 9.057e-05/0.004197, allocations: 154 kB / 0.7362 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.27e-05/0.00423, allocations: 2.188 kB / 0.7362 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.004233, allocations: 0 / 0.7362 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.004235, allocations: 0 / 0.7362 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.00443, allocations: 468.5 kB / 0.7367 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001636/0.004594, allocations: 159 kB / 0.7368 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.707e-05/0.004621, allocations: 53.14 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.833e-06/0.004623, allocations: 0.7656 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.004645, allocations: 55.36 kB / 0.7369 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.004645, allocations: 0 / 0.7369 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.001211/0.005856, allocations: 172.7 kB / 0.7371 GB, free: 12.43 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.133379335515201]