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.001357/0.001357, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001494/0.001494, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.161/3.161, allocations: 0.4892 GB / 0.7951 GB, free: 35.5 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.002109/0.002109, allocations: 73.88 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3668, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001817/0.3686, allocations: 0.539 MB / 1.327 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.179e-05/0.3687, allocations: 7.938 kB / 1.327 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.3687, allocations: 0 / 1.327 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.3687, allocations: 0 / 1.327 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.837e-05/0.3687, allocations: 3.938 kB / 1.327 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.728e-05/0.3688, allocations: 0 / 1.327 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.487e-05/0.3688, allocations: 0 / 1.327 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.919e-05/0.3689, allocations: 4 kB / 1.327 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.275e-05/0.3689, allocations: 0 / 1.327 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.162e-05/0.3689, allocations: 3.984 kB / 1.327 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3689, allocations: 4 kB / 1.327 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-06/0.3689, allocations: 0 / 1.327 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.369, allocations: 0 / 1.327 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.3691, allocations: 8 kB / 1.327 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.143e-05/0.3691, allocations: 3.938 kB / 1.327 GB, free: 1.277 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3691, allocations: 0 / 1.327 GB, free: 1.277 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3691, allocations: 0 / 1.327 GB, free: 1.277 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3692, allocations: 0 / 1.327 GB, free: 1.277 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.0003645/0.3695, allocations: 240.8 kB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3696, allocations: 11.97 kB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.3696, allocations: 4.938 kB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.3697, allocations: 106.5 kB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3697, allocations: 8.312 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.3697, allocations: 384 / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.736e-05/0.3698, allocations: 30.27 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3698, allocations: 192 / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3698, allocations: 3.938 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3698, allocations: 0 / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.377e-05/0.3698, allocations: 0 / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.3702, allocations: 339.1 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.3703, allocations: 173.5 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.3703, allocations: 84.14 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.3704, allocations: 79.22 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.178e-05/0.3705, allocations: 109.8 kB / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3705, allocations: 0 / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.543e-05/0.3705, allocations: 33.64 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.3707, allocations: 130.7 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.3708, allocations: 97.84 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.3708, allocations: 25.7 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.371, allocations: 80.14 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.371, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.371, allocations: 13.84 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3712, allocations: 314.8 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.3712, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-06/0.3712, allocations: 4 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.3712, allocations: 75.28 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.372e-05/0.3713, allocations: 75.28 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.997e-05/0.3713, allocations: 41.58 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.3714, allocations: 81.31 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.644e-05/0.3714, allocations: 83.2 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.698e-05/0.3715, allocations: 154.6 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.472e-05/0.3715, allocations: 79.22 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.659e-05/0.3716, allocations: 154.6 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.3717, allocations: 79.28 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.613e-05/0.3718, allocations: 79.22 kB / 1.33 GB, free: 14.36 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.0001368/0.3719, allocations: 260.4 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.23e-05/0.372, allocations: 112.9 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.201e-05/0.372, allocations: 107.9 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.797e-05/0.3721, allocations: 180.2 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.979e-05/0.3722, allocations: 184.2 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-05/0.3723, allocations: 176.3 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.3726, allocations: 360.8 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.063e-05/0.3726, allocations: 112.9 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.3727, allocations: 101 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.243e-05/0.3728, allocations: 188.1 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.602e-05/0.3728, allocations: 180.2 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.763e-05/0.3729, allocations: 180.6 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.251e-05/0.373, allocations: 184.2 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3732, allocations: 303.8 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.3732, allocations: 112.9 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.961e-05/0.3733, allocations: 180.3 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.3735, allocations: 104.9 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.3736, allocations: 180.3 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.3737, allocations: 108.9 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.3737, allocations: 79.27 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3737, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002672/0.374, allocations: 0 / 1.333 GB, free: 10.85 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.0002377/0.3742, allocations: 178.5 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.052e-05/0.3742, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3742, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3742, allocations: 4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.3747, allocations: 455.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.0002585/0.375, allocations: 189.9 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.633e-05/0.3751, allocations: 59.28 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.191e-05/0.3751, allocations: 11.44 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3751, allocations: 0 / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of Templates: time 0.001702/0.3768, allocations: 307.8 kB / 1.334 GB, free: 9.598 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/jenkins1/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: 10.89632435562089]