Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001312/0.001312, allocations: 110 kB / 18.93 MB, free: 2.945 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.001789/0.001789, allocations: 190.1 kB / 22.23 MB, free: 5.16 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.527/1.527, allocations: 225.6 MB / 251 MB, free: 13.01 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.266/3.266, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 64.36 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4042, allocations: 174.9 MB / 1.316 GB, free: 9.699 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001864/0.406, allocations: 0.5703 MB / 1.317 GB, free: 9.133 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.602e-05/0.4061, allocations: 4 kB / 1.317 GB, free: 9.129 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.4061, allocations: 7.938 kB / 1.317 GB, free: 9.121 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.4061, allocations: 7.922 kB / 1.317 GB, free: 9.113 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.916e-05/0.4062, allocations: 7.938 kB / 1.317 GB, free: 9.105 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.204e-05/0.4062, allocations: 0 / 1.317 GB, free: 9.105 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.115e-05/0.4063, allocations: 0 / 1.317 GB, free: 9.105 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.197e-05/0.4063, allocations: 0 / 1.317 GB, free: 9.105 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.254e-05/0.4063, allocations: 4 kB / 1.317 GB, free: 9.102 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.891e-05/0.4064, allocations: 0 / 1.317 GB, free: 9.102 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.4064, allocations: 0 / 1.317 GB, free: 9.102 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-06/0.4064, allocations: 0 / 1.317 GB, free: 9.102 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.4064, allocations: 0 / 1.317 GB, free: 9.102 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.4064, allocations: 3.984 kB / 1.317 GB, free: 9.098 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.54e-05/0.4065, allocations: 7.938 kB / 1.317 GB, free: 9.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4065, allocations: 8 kB / 1.317 GB, free: 9.082 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4065, allocations: 0 / 1.317 GB, free: 9.082 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.4065, allocations: 0 / 1.317 GB, free: 9.082 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.0003235/0.4068, allocations: 239.8 kB / 1.317 GB, free: 8.816 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.4068, allocations: 8.031 kB / 1.317 GB, free: 8.809 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.4069, allocations: 0.9375 kB / 1.317 GB, free: 8.809 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.407, allocations: 106.5 kB / 1.317 GB, free: 8.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.407, allocations: 384 / 1.317 GB, free: 8.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.407, allocations: 4.312 kB / 1.317 GB, free: 8.676 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.4071, allocations: 34.27 kB / 1.317 GB, free: 8.637 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4071, allocations: 4.172 kB / 1.317 GB, free: 8.633 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4071, allocations: 3.938 kB / 1.317 GB, free: 8.629 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4071, allocations: 4 kB / 1.317 GB, free: 8.625 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.376e-05/0.4071, allocations: 0 / 1.317 GB, free: 8.625 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.4075, allocations: 346.6 kB / 1.317 GB, free: 8.242 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.4076, allocations: 181.4 kB / 1.318 GB, free: 8.055 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.4076, allocations: 80.14 kB / 1.318 GB, free: 7.973 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.4077, allocations: 75.28 kB / 1.318 GB, free: 7.898 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/0.4077, allocations: 109.9 kB / 1.318 GB, free: 7.781 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.4077, allocations: 0 / 1.318 GB, free: 7.781 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.553e-05/0.4078, allocations: 33.7 kB / 1.318 GB, free: 7.742 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.4079, allocations: 134.6 kB / 1.318 GB, free: 7.598 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.408, allocations: 93.86 kB / 1.318 GB, free: 7.496 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.408, allocations: 25.7 kB / 1.318 GB, free: 7.465 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.408, allocations: 80.14 kB / 1.318 GB, free: 7.383 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.408, allocations: 0 / 1.318 GB, free: 7.383 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.4081, allocations: 13.7 kB / 1.318 GB, free: 7.363 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4082, allocations: 318.8 kB / 1.318 GB, free: 7.043 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.4082, allocations: 4.125 kB / 1.318 GB, free: 7.039 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-06/0.4082, allocations: 3.938 kB / 1.318 GB, free: 7.035 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.4082, allocations: 75.28 kB / 1.319 GB, free: 6.961 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.771e-05/0.4083, allocations: 75.28 kB / 1.319 GB, free: 6.887 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.815e-05/0.4083, allocations: 41.58 kB / 1.319 GB, free: 6.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.4084, allocations: 81.31 kB / 1.319 GB, free: 6.762 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.053e-05/0.4084, allocations: 79.22 kB / 1.319 GB, free: 6.684 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.93e-05/0.4085, allocations: 154.6 kB / 1.319 GB, free: 6.531 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.018e-05/0.4085, allocations: 87.2 kB / 1.319 GB, free: 6.445 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.695e-05/0.4086, allocations: 150.6 kB / 1.319 GB, free: 6.297 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.4086, allocations: 79.28 kB / 1.319 GB, free: 6.219 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.4087, allocations: 79.22 kB / 1.319 GB, free: 6.141 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.0001325/0.4088, allocations: 264.9 kB / 1.32 GB, free: 5.871 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.4089, allocations: 108.9 kB / 1.32 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.4089, allocations: 112.1 kB / 1.32 GB, free: 5.637 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-05/0.409, allocations: 180.3 kB / 1.32 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.581e-05/0.4091, allocations: 180.3 kB / 1.32 GB, free: 5.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.497e-05/0.4092, allocations: 180.2 kB / 1.32 GB, free: 5.086 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.4094, allocations: 380.2 kB / 1.321 GB, free: 4.664 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.838e-05/0.4095, allocations: 108.9 kB / 1.321 GB, free: 4.551 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.4095, allocations: 105 kB / 1.321 GB, free: 4.441 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.406e-05/0.4096, allocations: 176.3 kB / 1.321 GB, free: 4.262 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/0.4097, allocations: 184.2 kB / 1.321 GB, free: 4.074 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-05/0.4097, allocations: 180.6 kB / 1.321 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-05/0.4098, allocations: 184.2 kB / 1.322 GB, free: 3.703 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.41, allocations: 311.7 kB / 1.322 GB, free: 3.375 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.41, allocations: 105 kB / 1.322 GB, free: 3.266 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/0.4101, allocations: 180.3 kB / 1.322 GB, free: 3.082 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.4102, allocations: 108.9 kB / 1.322 GB, free: 2.969 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.4103, allocations: 184.2 kB / 1.322 GB, free: 2.781 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.4103, allocations: 104.9 kB / 1.323 GB, free: 2.672 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.4104, allocations: 79.28 kB / 1.323 GB, free: 2.594 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4104, allocations: 0 / 1.323 GB, free: 2.594 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002434/0.4106, allocations: 0 / 1.323 GB, free: 2.594 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.0001677/0.4108, allocations: 178.6 kB / 1.323 GB, free: 2.406 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 4.386e-05/0.4108, allocations: 0 / 1.323 GB, free: 2.406 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4108, allocations: 0 / 1.323 GB, free: 2.406 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.4108, allocations: 0 / 1.323 GB, free: 2.406 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.4112, allocations: 463.6 kB / 1.323 GB, free: 1.949 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.4115, allocations: 164.1 kB / 1.323 GB, free: 1.762 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.4118, allocations: 0.6767 MB / 1.324 GB, free: 1.059 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.408e-06/0.4118, allocations: 4 kB / 1.324 GB, free: 1.055 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.4118, allocations: 11.38 kB / 1.324 GB, free: 1.043 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/0.4118, allocations: 0 / 1.324 GB, free: 1.043 MB / 1.014 GB Notification: Performance of Templates: time 0.002083/0.4139, allocations: 167.8 kB / 1.324 GB, free: 0.8828 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.23929412662983]