Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002242/0.002242, allocations: 192.3 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.509/3.509, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 62.11 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4031, allocations: 174.9 MB / 1.316 GB, free: 9.707 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001814/0.4049, allocations: 0.5477 MB / 1.317 GB, free: 9.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 5.105e-05/0.405, allocations: 4 kB / 1.317 GB, free: 9.156 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.405, allocations: 7.938 kB / 1.317 GB, free: 9.148 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.4051, allocations: 0 / 1.317 GB, free: 9.148 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.64e-05/0.4051, allocations: 4 kB / 1.317 GB, free: 9.145 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.318e-05/0.4051, allocations: 0 / 1.317 GB, free: 9.145 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.507e-05/0.4052, allocations: 3.938 kB / 1.317 GB, free: 9.141 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.126e-05/0.4052, allocations: 0 / 1.317 GB, free: 9.141 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.386e-05/0.4053, allocations: 4 kB / 1.317 GB, free: 9.137 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.335e-05/0.4053, allocations: 0 / 1.317 GB, free: 9.137 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.4053, allocations: 0 / 1.317 GB, free: 9.137 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.697e-06/0.4053, allocations: 0 / 1.317 GB, free: 9.137 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.4053, allocations: 0 / 1.317 GB, free: 9.137 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.4053, allocations: 0 / 1.317 GB, free: 9.137 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.985e-05/0.4054, allocations: 11.92 kB / 1.317 GB, free: 9.125 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.4054, allocations: 8 kB / 1.317 GB, free: 9.117 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4054, allocations: 0 / 1.317 GB, free: 9.117 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.4054, allocations: 0 / 1.317 GB, free: 9.117 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.0003173/0.4057, allocations: 234.4 kB / 1.317 GB, free: 8.855 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4058, allocations: 8.031 kB / 1.317 GB, free: 8.848 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.4058, allocations: 4.922 kB / 1.317 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.4059, allocations: 106.5 kB / 1.317 GB, free: 8.715 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.4059, allocations: 4.312 kB / 1.317 GB, free: 8.711 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.406, allocations: 384 / 1.317 GB, free: 8.711 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.949e-05/0.406, allocations: 34.27 kB / 1.317 GB, free: 8.672 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4061, allocations: 192 / 1.317 GB, free: 8.672 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4061, allocations: 3.938 kB / 1.317 GB, free: 8.668 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4061, allocations: 4 kB / 1.317 GB, free: 8.664 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.375e-05/0.4061, allocations: 0 / 1.317 GB, free: 8.664 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.4064, allocations: 354.6 kB / 1.317 GB, free: 8.273 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.4065, allocations: 177.5 kB / 1.317 GB, free: 8.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.4066, allocations: 80.14 kB / 1.318 GB, free: 8.008 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.4066, allocations: 75.28 kB / 1.318 GB, free: 7.934 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.942e-05/0.4067, allocations: 109.9 kB / 1.318 GB, free: 7.816 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.4067, allocations: 0 / 1.318 GB, free: 7.816 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.841e-05/0.4068, allocations: 33.7 kB / 1.318 GB, free: 7.777 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.4068, allocations: 134.6 kB / 1.318 GB, free: 7.633 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.408e-05/0.4069, allocations: 97.84 kB / 1.318 GB, free: 7.527 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.4069, allocations: 25.7 kB / 1.318 GB, free: 7.496 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.407, allocations: 80.14 kB / 1.318 GB, free: 7.414 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.407, allocations: 0 / 1.318 GB, free: 7.414 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.407, allocations: 9.719 kB / 1.318 GB, free: 7.398 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4071, allocations: 318.8 kB / 1.318 GB, free: 7.078 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/0.4071, allocations: 8.062 kB / 1.318 GB, free: 7.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-06/0.4071, allocations: 0 / 1.318 GB, free: 7.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.018e-05/0.4072, allocations: 75.28 kB / 1.318 GB, free: 6.996 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.811e-05/0.4072, allocations: 75.28 kB / 1.319 GB, free: 6.922 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.805e-05/0.4072, allocations: 33.64 kB / 1.319 GB, free: 6.883 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.4073, allocations: 88.61 kB / 1.319 GB, free: 6.797 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/0.4073, allocations: 79.22 kB / 1.319 GB, free: 6.719 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.077e-05/0.4074, allocations: 154.6 kB / 1.319 GB, free: 6.566 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.672e-05/0.4074, allocations: 87.22 kB / 1.319 GB, free: 6.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-05/0.4075, allocations: 150.6 kB / 1.319 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/0.4076, allocations: 79.28 kB / 1.319 GB, free: 6.254 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.4076, allocations: 79.22 kB / 1.319 GB, free: 6.176 MB / 1.014 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.0001322/0.4077, allocations: 268.9 kB / 1.32 GB, free: 5.902 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.4078, allocations: 108.9 kB / 1.32 GB, free: 5.789 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.088e-05/0.4079, allocations: 108.1 kB / 1.32 GB, free: 5.672 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.817e-05/0.4079, allocations: 180.3 kB / 1.32 GB, free: 5.488 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.421e-05/0.408, allocations: 180.3 kB / 1.32 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.377e-05/0.4081, allocations: 184.2 kB / 1.32 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.4083, allocations: 376.2 kB / 1.321 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.68e-05/0.4084, allocations: 112.9 kB / 1.321 GB, free: 4.582 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.4084, allocations: 105 kB / 1.321 GB, free: 4.473 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.808e-05/0.4085, allocations: 184.2 kB / 1.321 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-05/0.4086, allocations: 180.3 kB / 1.321 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-05/0.4086, allocations: 176.6 kB / 1.321 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.2e-05/0.4087, allocations: 184.2 kB / 1.322 GB, free: 3.734 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.4088, allocations: 315.7 kB / 1.322 GB, free: 3.402 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.4089, allocations: 101 kB / 1.322 GB, free: 3.297 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/0.409, allocations: 180.3 kB / 1.322 GB, free: 3.113 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.4091, allocations: 108.9 kB / 1.322 GB, free: 3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.4091, allocations: 184.2 kB / 1.322 GB, free: 2.812 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.4092, allocations: 104.9 kB / 1.322 GB, free: 2.703 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.4092, allocations: 79.28 kB / 1.323 GB, free: 2.625 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4092, allocations: 0 / 1.323 GB, free: 2.625 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002398/0.4095, allocations: 0 / 1.323 GB, free: 2.625 MB / 1.014 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.0001528/0.4096, allocations: 174.6 kB / 1.323 GB, free: 2.441 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 4.515e-05/0.4097, allocations: 0 / 1.323 GB, free: 2.441 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4097, allocations: 3.938 kB / 1.323 GB, free: 2.438 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.4097, allocations: 0 / 1.323 GB, free: 2.438 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.4101, allocations: 463.6 kB / 1.323 GB, free: 1.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.4103, allocations: 168.1 kB / 1.323 GB, free: 1.789 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.4106, allocations: 0.669 MB / 1.324 GB, free: 1.094 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.515e-06/0.4106, allocations: 4 kB / 1.324 GB, free: 1.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.4106, allocations: 7.438 kB / 1.324 GB, free: 1.082 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.4106, allocations: 0 / 1.324 GB, free: 1.082 MB / 1.014 GB Notification: Performance of Templates: time 0.002238/0.4128, allocations: 172.7 kB / 1.324 GB, free: 0.9141 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.028009071946144]