Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.001434/0.001434, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001726/0.001726, allocations: 213.1 kB / 22.25 MB, free: 4.855 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.797 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.342/3.342, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [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.002199/0.002199, allocations: 71.06 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4264, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002356/0.4288, allocations: 0.6954 MB / 1.326 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.4301, allocations: 0.8587 MB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.4302, allocations: 0 / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.4302, allocations: 3.938 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.299e-05/0.4303, allocations: 15.92 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.4305, allocations: 23.91 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.514e-05/0.4306, allocations: 39.92 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.4307, allocations: 11.98 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.346e-05/0.4308, allocations: 23.91 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.4309, allocations: 19.92 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.4309, allocations: 4 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.4309, allocations: 4 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.431, allocations: 15.98 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.431, allocations: 15.88 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.4311, allocations: 55.72 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.932e-05/0.4311, allocations: 4 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4311, allocations: 0 / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.4311, allocations: 0 / 1.327 GB, free: 96 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005783/0.4317, allocations: 278.2 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4318, allocations: 8.031 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.4318, allocations: 4.938 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.4319, allocations: 114.4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.432, allocations: 4.375 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.432, allocations: 4.375 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.4322, allocations: 69.59 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4322, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.4322, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4322, allocations: 4 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.4324, allocations: 55.88 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.4329, allocations: 224.5 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.4331, allocations: 62.58 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.4332, allocations: 36.81 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.4332, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.4333, allocations: 34.5 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4333, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004374/0.4337, allocations: 113.6 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.4338, allocations: 51.41 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.4339, allocations: 109.8 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.4339, allocations: 37.7 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.434, allocations: 80.14 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.434, allocations: 15.84 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.434, allocations: 21.7 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.4342, allocations: 322.7 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.4343, allocations: 27.97 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.326e-05/0.4344, allocations: 23.92 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.4346, allocations: 60.81 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4346, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002689/0.4349, allocations: 85.95 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4349, allocations: 4 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4349, allocations: 0 / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4349, allocations: 0 / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.4351, allocations: 15.98 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4351, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.23e-05/0.4351, allocations: 11.98 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4352, allocations: 4 kB / 1.329 GB, free: 14.07 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: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001134/0.4353, allocations: 120.3 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.4353, allocations: 3.953 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.4353, allocations: 12 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4353, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4353, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4353, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.4355, allocations: 121.2 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4355, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.4356, allocations: 19.98 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.4356, allocations: 3.938 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4356, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.4356, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4356, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.436, allocations: 187.4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.436, allocations: 3.938 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.436, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.4361, allocations: 7.984 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.4361, allocations: 15.98 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.4361, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.193e-05/0.4362, allocations: 91.27 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4362, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000227/0.4364, allocations: 8 kB / 1.33 GB, free: 13.42 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001314/0.4366, allocations: 99.23 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.4368, allocations: 51.95 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4369, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.437, allocations: 35.91 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.4373, allocations: 15.92 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.4377, allocations: 133.6 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.008e-05/0.4377, allocations: 63.34 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.853e-05/0.4378, allocations: 11.98 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.4378, allocations: 11.44 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4378, allocations: 0 / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of Templates: time 0.003913/0.4418, allocations: 0.9649 MB / 1.331 GB, free: 12 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.527192283421755]