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.0007725/0.0007725, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.001914, allocations: 444 kB / 10.41 MB, free: 276 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.000709/0.000709, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009562/0.001665, allocations: 475.6 kB / 11.79 MB, free: 2.371 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 1/1, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1335/1.134, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.611/2.611, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3148/2.926, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.819 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.77e-05, allocations: 2.312 kB / 0.819 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00165/0.001668, allocations: 0.647 MB / 0.8196 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 2.098e-05/0.001689, allocations: 3.984 kB / 0.8196 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.001712, allocations: 0 / 0.8196 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.001735, allocations: 4 kB / 0.8196 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.304e-05/0.001748, allocations: 0 / 0.8196 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 1.835e-05/0.001766, allocations: 4 kB / 0.8196 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.373e-05/0.00183, allocations: 7.938 kB / 0.8196 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.001875, allocations: 0 / 0.8196 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.41e-05/0.001929, allocations: 4 kB / 0.8196 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.912e-05/0.001958, allocations: 3.938 kB / 0.8196 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.001977, allocations: 0 / 0.8196 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-06/0.001984, allocations: 0 / 0.8196 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.002003, allocations: 0 / 0.8196 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.002022, allocations: 0 / 0.8196 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.431e-05/0.002096, allocations: 15.92 kB / 0.8196 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-05/0.00211, allocations: 0 / 0.8196 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002111, allocations: 0 / 0.8196 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.002127, allocations: 0 / 0.8196 GB, free: 1.781 MB / 0.7917 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.000341/0.002468, allocations: 208.7 kB / 0.8198 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.002513, allocations: 12.03 kB / 0.8198 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.002543, allocations: 0.9375 kB / 0.8198 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.002654, allocations: 105.8 kB / 0.8199 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.002667, allocations: 4.375 kB / 0.8199 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.002679, allocations: 4.375 kB / 0.8199 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.619e-05/0.002755, allocations: 30.27 kB / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.002762, allocations: 192 / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.002769, allocations: 384 / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.002777, allocations: 4.359 kB / 0.82 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.279e-05/0.002789, allocations: 11.88 kB / 0.82 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.003012, allocations: 290.9 kB / 0.8203 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.003461, allocations: 169.1 kB / 0.8204 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.003497, allocations: 80.14 kB / 0.8205 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.003526, allocations: 79.31 kB / 0.8206 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.003581, allocations: 113.8 kB / 0.8207 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.003582, allocations: 4 kB / 0.8207 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 7.706e-05/0.003659, allocations: 25.7 kB / 0.8207 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.003727, allocations: 134.6 kB / 0.8208 GB, free: 424 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.003812, allocations: 94.72 kB / 0.8209 GB, free: 316 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.003824, allocations: 25.7 kB / 0.821 GB, free: 284 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.003872, allocations: 80.14 kB / 0.821 GB, free: 200 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.003875, allocations: 0 / 0.821 GB, free: 200 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.003901, allocations: 13.72 kB / 0.8211 GB, free: 180 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.004033, allocations: 314.8 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.004038, allocations: 0 / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.004044, allocations: 128 / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.004074, allocations: 87.22 kB / 0.8214 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.271e-05/0.004107, allocations: 79.22 kB / 0.8215 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.035e-05/0.004147, allocations: 25.7 kB / 0.8215 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.004186, allocations: 84.53 kB / 0.8216 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.004209, allocations: 75.28 kB / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.678e-05/0.004265, allocations: 158.5 kB / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.742e-05/0.004293, allocations: 83.22 kB / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-05/0.004336, allocations: 162.5 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.004379, allocations: 75.28 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.004399, allocations: 75.45 kB / 0.8222 GB, free: 14.96 MB / 0.8073 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.0001017/0.004501, allocations: 264.4 kB / 0.8225 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.004542, allocations: 108.9 kB / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.004589, allocations: 108 kB / 0.8227 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.141e-05/0.004641, allocations: 184.2 kB / 0.8229 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.456e-05/0.004695, allocations: 184.2 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.439e-05/0.00475, allocations: 188.3 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.004911, allocations: 313.4 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/0.004942, allocations: 105 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/0.004977, allocations: 108.9 kB / 0.8237 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.005008, allocations: 101 kB / 0.8238 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-05/0.00507, allocations: 184.3 kB / 0.824 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.005122, allocations: 180.2 kB / 0.8242 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.995e-05/0.005172, allocations: 176.3 kB / 0.8243 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.379e-05/0.005226, allocations: 196.1 kB / 0.8245 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.005338, allocations: 303.8 kB / 0.8248 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.005393, allocations: 180.3 kB / 0.825 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.982e-05/0.005443, allocations: 105 kB / 0.8251 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.005502, allocations: 180.2 kB / 0.8252 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.005531, allocations: 101 kB / 0.8253 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.099e-05/0.005552, allocations: 12.8 kB / 0.8254 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005552, allocations: 4.094 kB / 0.8254 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001305/0.005682, allocations: 0 / 0.8254 GB, free: 11.57 MB / 0.8073 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.0001304/0.005813, allocations: 155.7 kB / 0.8255 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.469e-05/0.005867, allocations: 3.938 kB / 0.8255 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.005873, allocations: 3.938 kB / 0.8255 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-06/0.005877, allocations: 3.984 kB / 0.8255 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.006125, allocations: 467.7 kB / 0.826 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00018/0.006305, allocations: 155.4 kB / 0.8261 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.291e-05/0.006338, allocations: 59.34 kB / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.625e-06/0.006341, allocations: 4 kB / 0.8262 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.006364, allocations: 47.38 kB / 0.8262 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.006365, allocations: 0 / 0.8262 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.001417/0.007782, allocations: 169.7 kB / 0.8264 GB, free: 10.46 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant/Buildings_latest_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.459659562446177]