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.001508/0.001508, allocations: 104 kB / 16.45 MB, free: 6.449 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.001571/0.001571, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.567/1.567, allocations: 230.5 MB / 252.8 MB, free: 9.152 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.418/3.418, allocations: 0.49 GB / 0.7915 GB, free: 33.35 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.002198/0.002198, allocations: 69.64 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4116, allocations: 176.1 MB / 1.321 GB, free: 2.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.003215/0.4148, allocations: 0.5427 MB / 1.322 GB, free: 2.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 5.326e-05/0.4148, allocations: 8 kB / 1.322 GB, free: 2.242 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.4149, allocations: 0 / 1.322 GB, free: 2.242 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.4149, allocations: 0 / 1.322 GB, free: 2.242 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.169e-05/0.415, allocations: 3.938 kB / 1.322 GB, free: 2.238 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.706e-05/0.415, allocations: 4 kB / 1.322 GB, free: 2.234 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.4151, allocations: 0 / 1.322 GB, free: 2.234 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.4152, allocations: 4 kB / 1.322 GB, free: 2.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.925e-05/0.4152, allocations: 0 / 1.322 GB, free: 2.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.623e-05/0.4152, allocations: 3.984 kB / 1.322 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.4152, allocations: 0 / 1.322 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-06/0.4152, allocations: 0 / 1.322 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.4152, allocations: 4 kB / 1.322 GB, free: 2.223 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.4153, allocations: 0 / 1.322 GB, free: 2.223 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.4154, allocations: 11.92 kB / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.4154, allocations: 4 kB / 1.322 GB, free: 2.207 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.797e-06/0.4154, allocations: 0 / 1.322 GB, free: 2.207 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.4154, allocations: 0 / 1.322 GB, free: 2.207 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.0005122/0.4159, allocations: 315.5 kB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.416, allocations: 11.98 kB / 1.322 GB, free: 1.836 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.416, allocations: 0.9375 kB / 1.322 GB, free: 1.836 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.4162, allocations: 160.4 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.4162, allocations: 8.375 kB / 1.322 GB, free: 1.633 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.4162, allocations: 384 / 1.322 GB, free: 1.633 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.4163, allocations: 26.27 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4164, allocations: 4.125 kB / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.4164, allocations: 7.922 kB / 1.322 GB, free: 1.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.4164, allocations: 0 / 1.322 GB, free: 1.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.665e-05/0.4164, allocations: 8 kB / 1.322 GB, free: 1.582 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.4169, allocations: 383.5 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.417, allocations: 173.1 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.4171, allocations: 84.08 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.47e-05/0.4171, allocations: 75.28 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/0.4171, allocations: 109.8 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4171, allocations: 4 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 9.997e-05/0.4172, allocations: 33.64 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.4173, allocations: 126.7 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.4174, allocations: 97.86 kB / 1.323 GB, free: 424 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.4175, allocations: 25.7 kB / 1.323 GB, free: 392 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.4175, allocations: 80.58 kB / 1.323 GB, free: 308 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.4175, allocations: 0 / 1.323 GB, free: 308 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.4175, allocations: 13.84 kB / 1.323 GB, free: 288 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4177, allocations: 314.8 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.4177, allocations: 7.875 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-06/0.4177, allocations: 4 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.4178, allocations: 75.28 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.515e-05/0.4178, allocations: 79.28 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.125e-05/0.4179, allocations: 37.64 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/0.4179, allocations: 83.28 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.1e-05/0.418, allocations: 83.22 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.745e-05/0.4181, allocations: 150.6 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.594e-05/0.4181, allocations: 75.28 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.502e-05/0.4182, allocations: 158.5 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.545e-05/0.4183, allocations: 79.27 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/0.4183, allocations: 79.22 kB / 1.325 GB, free: 15.06 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.0001623/0.4185, allocations: 272.3 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-05/0.4186, allocations: 101 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.4186, allocations: 104.1 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000126/0.4187, allocations: 184.2 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.355e-05/0.4188, allocations: 180.3 kB / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.131e-05/0.4189, allocations: 184.2 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.4192, allocations: 405.2 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.177e-05/0.4193, allocations: 105 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.143e-05/0.4193, allocations: 104.9 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.099e-05/0.4194, allocations: 176.3 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.729e-05/0.4195, allocations: 184.2 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.028e-05/0.4196, allocations: 188.6 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.812e-05/0.4196, allocations: 180.2 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.4198, allocations: 311.7 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4199, allocations: 182 kB / 1.327 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.4201, allocations: 184.2 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4202, allocations: 105 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.4203, allocations: 180.2 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.4203, allocations: 101 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.667e-05/0.4204, allocations: 83.28 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4204, allocations: 0 / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003041/0.4207, allocations: 96 / 1.328 GB, free: 11.39 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.0001891/0.4209, allocations: 182.5 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.818e-05/0.4209, allocations: 3.938 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4209, allocations: 3.938 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.4209, allocations: 4 kB / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.4214, allocations: 461.5 kB / 1.329 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.4217, allocations: 152.4 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.422, allocations: 0.6767 MB / 1.329 GB, free: 9.859 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.648e-06/0.4221, allocations: 0 / 1.329 GB, free: 9.859 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.4221, allocations: 7.438 kB / 1.329 GB, free: 9.852 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.4221, allocations: 0 / 1.329 GB, free: 9.852 MB / 1.029 GB Notification: Performance of Templates: time 0.002527/0.4246, allocations: 168.9 kB / 1.33 GB, free: 9.688 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.564952775835991]