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.001618/0.001618, allocations: 116.5 kB / 17.13 MB, free: 5.945 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.001755/0.001755, allocations: 210.5 kB / 20.09 MB, free: 2.996 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.933/2.933, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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.002076/0.002076, allocations: 67.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9692/0.9713, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001486/0.9727, allocations: 0.5423 MB / 1.322 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 3.106e-05/0.9728, allocations: 6.906 kB / 1.322 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.861e-05/0.9728, allocations: 4 kB / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.9728, allocations: 0 / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 1.876e-05/0.9728, allocations: 0 / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 1.951e-05/0.9729, allocations: 0 / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 2.885e-05/0.9729, allocations: 3.312 kB / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 2.7e-05/0.9729, allocations: 3.281 kB / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-06/0.9729, allocations: 3.938 kB / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-06/0.9729, allocations: 0 / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.9729, allocations: 6.516 kB / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.9729, allocations: 0 / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.973, allocations: 0 / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.973, allocations: 7.938 kB / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.078e-05/0.973, allocations: 6.781 kB / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.973, allocations: 0 / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.253e-06/0.973, allocations: 0 / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.973, allocations: 0 / 1.323 GB, free: 24.7 MB / 1.061 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.00022/0.9733, allocations: 314.8 kB / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.9733, allocations: 13.58 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.9733, allocations: 0.9375 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.436e-05/0.9734, allocations: 162.7 kB / 1.323 GB, free: 24.15 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.9734, allocations: 4.375 kB / 1.323 GB, free: 24.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.9734, allocations: 384 / 1.323 GB, free: 24.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.365e-05/0.9735, allocations: 35.98 kB / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.9735, allocations: 192 / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.9735, allocations: 3.938 kB / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.9735, allocations: 0 / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.434e-05/0.9735, allocations: 6.312 kB / 1.323 GB, free: 24.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.9737, allocations: 384.1 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.681e-05/0.9738, allocations: 173.1 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.9738, allocations: 80.14 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.9738, allocations: 75.28 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.9738, allocations: 109.8 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.9738, allocations: 0 / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 5.953e-05/0.9739, allocations: 32.45 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.9739, allocations: 130 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.116e-05/0.974, allocations: 100.7 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-06/0.974, allocations: 25.7 kB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.259e-05/0.974, allocations: 82.77 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-06/0.974, allocations: 0 / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/0.974, allocations: 13.66 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.436e-05/0.9741, allocations: 315 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-06/0.9741, allocations: 0 / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-06/0.9741, allocations: 2.906 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.17e-05/0.9741, allocations: 78.56 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.9741, allocations: 83.22 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.325e-05/0.9741, allocations: 32.61 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.9741, allocations: 80.81 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.9742, allocations: 75.28 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/0.9742, allocations: 162.5 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-05/0.9742, allocations: 77.97 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.9742, allocations: 158.1 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.9743, allocations: 75.28 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.9743, allocations: 78.19 kB / 1.325 GB, free: 21.63 MB / 1.061 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 5.101e-05/0.9743, allocations: 268.3 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.9744, allocations: 107.7 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.9744, allocations: 109 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.9744, allocations: 180.2 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-05/0.9744, allocations: 183.2 kB / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/0.9745, allocations: 180.3 kB / 1.326 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.9746, allocations: 411.3 kB / 1.327 GB, free: 20.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.9746, allocations: 101 kB / 1.327 GB, free: 20.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.9746, allocations: 104.9 kB / 1.327 GB, free: 19.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.458e-05/0.9746, allocations: 182.3 kB / 1.327 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.9747, allocations: 180.3 kB / 1.327 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.681e-05/0.9747, allocations: 184.2 kB / 1.327 GB, free: 19.37 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.35e-05/0.9747, allocations: 183 kB / 1.328 GB, free: 19.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.722e-05/0.9748, allocations: 314.2 kB / 1.328 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.9748, allocations: 180.9 kB / 1.328 GB, free: 18.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.9748, allocations: 183.5 kB / 1.328 GB, free: 18.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.126e-05/0.9749, allocations: 109 kB / 1.328 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.9749, allocations: 183 kB / 1.329 GB, free: 18.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.9749, allocations: 104.9 kB / 1.329 GB, free: 18.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.947e-05/0.9749, allocations: 82.06 kB / 1.329 GB, free: 17.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9749, allocations: 0 / 1.329 GB, free: 17.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002757/0.9752, allocations: 0 / 1.329 GB, free: 17.99 MB / 1.061 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.772e-05/0.9753, allocations: 181.1 kB / 1.329 GB, free: 17.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 3.882e-05/0.9753, allocations: 3.938 kB / 1.329 GB, free: 17.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.9753, allocations: 0 / 1.329 GB, free: 17.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.9753, allocations: 0 / 1.329 GB, free: 17.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.9756, allocations: 458.4 kB / 1.329 GB, free: 17.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001765/0.9758, allocations: 181.4 kB / 1.33 GB, free: 17.17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.305e-05/0.9759, allocations: 0.6749 MB / 1.33 GB, free: 16.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/0.9759, allocations: 7.438 kB / 1.33 GB, free: 16.46 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.9759, allocations: 0 / 1.33 GB, free: 16.46 MB / 1.061 GB Notification: Performance of Templates: time 0.00149/0.9774, allocations: 322.4 kB / 1.33 GB, free: 16.45 MB / 1.061 GB " [Timeout remaining time 299] 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: 11.432188072998542]