Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.002159/0.002159, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002853/0.002853, allocations: 210.8 kB / 22.24 MB, free: 5.262 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.631/1.631, allocations: 230.6 MB / 256 MB, free: 7.805 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.466/3.466, allocations: 0.4892 GB / 0.7943 GB, free: 35.44 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.002175/0.002175, allocations: 72.72 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4665, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00223/0.4687, allocations: 0.5507 MB / 1.326 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.836e-05/0.4688, allocations: 3.938 kB / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.4688, allocations: 0 / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.4688, allocations: 0 / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.4689, allocations: 0 / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.935e-05/0.4689, allocations: 0 / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.376e-05/0.469, allocations: 7.938 kB / 1.326 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.229e-05/0.469, allocations: 0 / 1.326 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.469, allocations: 4 kB / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.313e-05/0.4691, allocations: 0 / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.4691, allocations: 4 kB / 1.326 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-06/0.4691, allocations: 0 / 1.326 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.4691, allocations: 7.984 kB / 1.326 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.4691, allocations: 3.938 kB / 1.326 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.48e-05/0.4692, allocations: 3.984 kB / 1.326 GB, free: 1.285 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4692, allocations: 0 / 1.326 GB, free: 1.285 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4692, allocations: 0 / 1.326 GB, free: 1.285 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4692, allocations: 0 / 1.326 GB, free: 1.285 MB / 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.0003596/0.4696, allocations: 238.4 kB / 1.326 GB, free: 1.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.4696, allocations: 12.03 kB / 1.326 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.4697, allocations: 0.9375 kB / 1.326 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.4698, allocations: 110.5 kB / 1.326 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.4698, allocations: 4.312 kB / 1.326 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.4698, allocations: 384 / 1.326 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.4699, allocations: 30.27 kB / 1.326 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.4699, allocations: 192 / 1.326 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.47, allocations: 3.938 kB / 1.326 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.47, allocations: 0 / 1.326 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.47, allocations: 4 kB / 1.326 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.4704, allocations: 335.1 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.4705, allocations: 169.5 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.4706, allocations: 84.14 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.4707, allocations: 79.22 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.184e-05/0.4708, allocations: 113.8 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.4708, allocations: 0 / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001117/0.4709, allocations: 33.64 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.471, allocations: 126.7 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.4711, allocations: 93.86 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.4711, allocations: 25.7 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.4712, allocations: 84.08 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.4712, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.4712, allocations: 21.83 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4714, allocations: 314.8 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-06/0.4714, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-06/0.4714, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.095e-05/0.4714, allocations: 75.28 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.81e-05/0.4714, allocations: 79.28 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.226e-05/0.4715, allocations: 33.64 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.4716, allocations: 83.22 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.361e-05/0.4716, allocations: 83.22 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001042/0.4717, allocations: 150.6 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.964e-05/0.4718, allocations: 83.2 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.126e-05/0.4718, allocations: 154.6 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.567e-05/0.4719, allocations: 79.28 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.472, allocations: 83.22 kB / 1.329 GB, free: 14.37 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.0001504/0.4721, allocations: 260.4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.4722, allocations: 104.9 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.383e-05/0.4723, allocations: 111.9 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-05/0.4723, allocations: 180.3 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-05/0.4724, allocations: 184.2 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-05/0.4725, allocations: 176.3 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.4728, allocations: 352.9 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001033/0.4729, allocations: 112.9 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.002e-05/0.473, allocations: 101 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.28e-05/0.473, allocations: 192.1 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.4731, allocations: 176.3 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.472e-05/0.4732, allocations: 180.6 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001073/0.4733, allocations: 184.2 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.4735, allocations: 307.8 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/0.4736, allocations: 108.9 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.4738, allocations: 184.2 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.936e-05/0.4739, allocations: 104.9 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.474, allocations: 184.3 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/0.474, allocations: 108.9 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001037/0.4741, allocations: 75.28 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4741, allocations: 3.938 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002885/0.4744, allocations: 0 / 1.332 GB, free: 10.86 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.000171/0.4746, allocations: 178.5 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.273e-05/0.4746, allocations: 4 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4746, allocations: 0 / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.4746, allocations: 0 / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.4751, allocations: 459.8 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.4754, allocations: 156.2 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.842e-05/0.4755, allocations: 55.36 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.773e-06/0.4755, allocations: 3.984 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.698e-05/0.4755, allocations: 7.438 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of SimCode: time 1.022e-06/0.4755, allocations: 0 / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of Templates: time 0.002335/0.4779, allocations: 135.2 kB / 1.333 GB, free: 9.82 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.82768239080906]