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.00254/0.00254, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002907/0.002907, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.98/2.98, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.215e-06/2.215e-06, allocations: 0 / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.408e-05, allocations: 6.797 kB / 0.8109 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001702/0.001736, allocations: 0.5915 MB / 0.8114 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 3.7e-05/0.001773, allocations: 0 / 0.8114 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.001799, allocations: 0 / 0.8114 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.001817, allocations: 0 / 0.8114 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.001853, allocations: 5.312 kB / 0.8114 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.101e-05/0.001884, allocations: 4 kB / 0.8114 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.358e-05/0.001937, allocations: 11.97 kB / 0.8115 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.001972, allocations: 0 / 0.8115 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.002001, allocations: 0.6875 kB / 0.8115 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.001e-05/0.002021, allocations: 0 / 0.8115 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.002036, allocations: 4.906 kB / 0.8115 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.002039, allocations: 0 / 0.8115 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.002052, allocations: 4.594 kB / 0.8115 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.002067, allocations: 0 / 0.8115 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.061e-05/0.002118, allocations: 0.625 kB / 0.8115 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.00212, allocations: 0 / 0.8115 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.61e-07/0.002121, allocations: 1.25 kB / 0.8115 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.002124, allocations: 0 / 0.8115 GB, free: 1.461 MB / 0.7605 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.000376/0.0025, allocations: 348.4 kB / 0.8118 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.00254, allocations: 14.22 kB / 0.8118 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.002574, allocations: 4.938 kB / 0.8118 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.002684, allocations: 104.6 kB / 0.8119 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.002698, allocations: 4.375 kB / 0.8119 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.002705, allocations: 384 / 0.8119 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.676e-05/0.002781, allocations: 31.05 kB / 0.8119 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.002791, allocations: 4.125 kB / 0.812 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.002797, allocations: 1.906 kB / 0.812 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.002801, allocations: 384 / 0.812 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.00282, allocations: 15.91 kB / 0.812 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.003421, allocations: 470.2 kB / 0.8124 GB, free: 392 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.003583, allocations: 262.5 kB / 0.8127 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/0.003671, allocations: 134.8 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.113e-05/0.003732, allocations: 119.2 kB / 0.8129 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.678e-05/0.003819, allocations: 153.2 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.00382, allocations: 0 / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.04e-05/0.0039, allocations: 38.19 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.5e-05/0.003995, allocations: 171.1 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.004115, allocations: 154.8 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.00414, allocations: 25.7 kB / 0.8134 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.004211, allocations: 127.8 kB / 0.8135 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.004212, allocations: 4 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.00424, allocations: 15.91 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000239/0.004479, allocations: 496.1 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-06/0.004486, allocations: 5.312 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-06/0.004488, allocations: 0 / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.015e-05/0.004549, allocations: 123.2 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.672e-05/0.004605, allocations: 120.5 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.55e-05/0.004661, allocations: 29.69 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.004733, allocations: 127.2 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.458e-05/0.004798, allocations: 131.1 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/0.004923, allocations: 239 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.004986, allocations: 123.9 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001245/0.00511, allocations: 246.5 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.168e-05/0.005202, allocations: 120.7 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.005262, allocations: 123.1 kB / 0.8154 GB, free: 13.26 MB / 0.7761 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.0002111/0.005473, allocations: 398.9 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.386e-05/0.005567, allocations: 148.9 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.242e-05/0.005659, allocations: 157.6 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001312/0.005791, allocations: 268 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000128/0.005919, allocations: 264.1 kB / 0.8165 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001458/0.006064, allocations: 276 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.006382, allocations: 496.8 kB / 0.8173 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.939e-05/0.006461, allocations: 148.9 kB / 0.8174 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.447e-05/0.006536, allocations: 148.8 kB / 0.8176 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.006685, allocations: 271.5 kB / 0.8178 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.006827, allocations: 272 kB / 0.8181 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001309/0.006958, allocations: 268 kB / 0.8183 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001515/0.00711, allocations: 276 kB / 0.8186 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.007362, allocations: 444 kB / 0.819 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.007443, allocations: 148.8 kB / 0.8192 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003856/0.007829, allocations: 264.1 kB / 0.8194 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.007948, allocations: 160.8 kB / 0.8196 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.008088, allocations: 268.1 kB / 0.8198 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/0.008161, allocations: 145.8 kB / 0.82 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.008228, allocations: 125 kB / 0.8201 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008228, allocations: 0 / 0.8201 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002551/0.008483, allocations: 3.953 kB / 0.8201 GB, free: 8.223 MB / 0.7761 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.0001728/0.008656, allocations: 219.5 kB / 0.8203 GB, free: 8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.115e-05/0.008697, allocations: 3.938 kB / 0.8203 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008698, allocations: 0 / 0.8203 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.008699, allocations: 1.469 kB / 0.8203 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/0.009251, allocations: 0.7062 MB / 0.821 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.009523, allocations: 204.7 kB / 0.8212 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.613e-05/0.009579, allocations: 59.75 kB / 0.8213 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.723e-06/0.009581, allocations: 0.9062 kB / 0.8213 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.009598, allocations: 8.5 kB / 0.8213 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.009598, allocations: 0 / 0.8213 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of Templates: time 0.002221/0.01182, allocations: 175.5 kB / 0.8214 GB, free: 6.801 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/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: 8.066234864993021]