Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001459/0.001459, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001509/0.001509, allocations: 197.3 kB / 22.17 MB, free: 5.656 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.545/1.545, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.009/3.009, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.91 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.124, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002047/1.126, allocations: 0.546 MB / 1.275 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.79e-05/1.126, allocations: 3.938 kB / 1.275 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/1.126, allocations: 0 / 1.275 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/1.126, allocations: 0 / 1.275 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.378e-05/1.126, allocations: 4 kB / 1.275 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.903e-05/1.126, allocations: 4 kB / 1.275 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.183e-05/1.126, allocations: 4 kB / 1.275 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/1.126, allocations: 4 kB / 1.275 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.741e-05/1.126, allocations: 3.938 kB / 1.275 GB, free: 4 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.177e-05/1.126, allocations: 3.984 kB / 1.275 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/1.126, allocations: 0 / 1.275 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/1.126, allocations: 0 / 1.275 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/1.126, allocations: 0 / 1.275 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/1.126, allocations: 4 kB / 1.275 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.218e-05/1.126, allocations: 7.984 kB / 1.275 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.126, allocations: 4 kB / 1.275 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/1.126, allocations: 0 / 1.275 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.432e-06/1.126, allocations: 0 / 1.275 GB, free: 3.98 MB / 0.9669 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.000371/1.127, allocations: 314.2 kB / 1.275 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/1.127, allocations: 11.97 kB / 1.275 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/1.127, allocations: 4.922 kB / 1.275 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/1.127, allocations: 168.3 kB / 1.275 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/1.127, allocations: 4.312 kB / 1.275 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/1.127, allocations: 384 / 1.275 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/1.127, allocations: 30.27 kB / 1.275 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.127, allocations: 192 / 1.275 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/1.127, allocations: 7.938 kB / 1.275 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/1.127, allocations: 0 / 1.275 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.671e-05/1.127, allocations: 4 kB / 1.275 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/1.127, allocations: 379.5 kB / 1.276 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/1.127, allocations: 177 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/1.127, allocations: 80.14 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/1.128, allocations: 79.27 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/1.128, allocations: 109.9 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/1.128, allocations: 0 / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.723e-05/1.128, allocations: 29.69 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/1.128, allocations: 134.6 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/1.128, allocations: 97.86 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/1.128, allocations: 25.7 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/1.128, allocations: 80.14 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/1.128, allocations: 0 / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/1.128, allocations: 9.719 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.128, allocations: 314.8 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-06/1.128, allocations: 4.125 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.875e-06/1.128, allocations: 0 / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.063e-05/1.128, allocations: 75.28 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.982e-05/1.128, allocations: 75.28 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.727e-05/1.128, allocations: 41.62 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.897e-05/1.128, allocations: 79.28 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.374e-05/1.129, allocations: 83.25 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/1.129, allocations: 154.6 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.84e-05/1.129, allocations: 83.22 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.206e-05/1.129, allocations: 150.6 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.177e-05/1.129, allocations: 79.28 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/1.129, allocations: 83.2 kB / 1.277 GB, free: 0.8398 MB / 0.9669 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.0001759/1.129, allocations: 272.8 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/1.129, allocations: 105 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.832e-05/1.129, allocations: 109.6 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.574e-05/1.129, allocations: 180.3 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001943/1.13, allocations: 180.2 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001678/1.13, allocations: 184.2 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/1.13, allocations: 401.2 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.564e-05/1.13, allocations: 112.9 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/1.13, allocations: 104.9 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.641e-05/1.13, allocations: 180.2 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.395e-05/1.13, allocations: 180.3 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.463e-05/1.13, allocations: 184.3 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.924e-05/1.131, allocations: 184.2 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/1.131, allocations: 312.1 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/1.131, allocations: 182 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/1.131, allocations: 180.2 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/1.131, allocations: 117 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/1.131, allocations: 176.3 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/1.131, allocations: 104.9 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.272e-05/1.131, allocations: 83.28 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/1.131, allocations: 0 / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002789/1.132, allocations: 0 / 1.281 GB, free: 13.16 MB / 0.9825 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.0001787/1.132, allocations: 178.6 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.199e-05/1.132, allocations: 4 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.132, allocations: 0 / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/1.132, allocations: 0 / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/1.132, allocations: 459.6 kB / 1.281 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/1.132, allocations: 172.1 kB / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/1.133, allocations: 0.669 MB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.424e-06/1.133, allocations: 0 / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/1.133, allocations: 7.438 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/1.133, allocations: 4 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of Templates: time 0.002242/1.135, allocations: 170.6 kB / 1.282 GB, free: 11.46 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.52944682072848]