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.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.001865/0.001865, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002394/0.002394, allocations: 193.4 kB / 22.11 MB, free: 5.156 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.552/1.552, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.502/3.502, allocations: 495.8 MB / 0.783 GB, free: 33.56 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-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 64.61 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4447, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002586/0.4473, allocations: 0.7128 MB / 1.307 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.4488, allocations: 0.8467 MB / 1.308 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.4489, allocations: 4 kB / 1.308 GB, free: 276 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.726e-05/0.4489, allocations: 3.938 kB / 1.308 GB, free: 272 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.449, allocations: 3.938 kB / 1.308 GB, free: 268 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.4492, allocations: 19.98 kB / 1.308 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.4494, allocations: 51.89 kB / 1.308 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.4495, allocations: 11.98 kB / 1.308 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.853e-05/0.4496, allocations: 19.88 kB / 1.308 GB, free: 164 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.4497, allocations: 27.91 kB / 1.308 GB, free: 136 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.4498, allocations: 4 kB / 1.308 GB, free: 132 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.6e-05/0.4498, allocations: 4 kB / 1.308 GB, free: 128 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.575e-05/0.4498, allocations: 15.92 kB / 1.308 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.4499, allocations: 19.92 kB / 1.308 GB, free: 92 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.45, allocations: 51.73 kB / 1.309 GB, free: 40 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4501, allocations: 0 / 1.309 GB, free: 40 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4501, allocations: 0 / 1.309 GB, free: 40 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.4501, allocations: 3.938 kB / 1.309 GB, free: 36 kB / 0.9981 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.0007481/0.4508, allocations: 282.2 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.4509, allocations: 8.031 kB / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.4509, allocations: 8.891 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.4511, allocations: 118.5 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.4511, allocations: 4.375 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.4511, allocations: 4.375 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.4514, allocations: 69.53 kB / 1.309 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4514, allocations: 0 / 1.309 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.4514, allocations: 0 / 1.309 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.4514, allocations: 8 kB / 1.309 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.4517, allocations: 51.94 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.4523, allocations: 259.8 kB / 1.309 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.4526, allocations: 66.52 kB / 1.309 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.4527, allocations: 32.88 kB / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.4527, allocations: 4 kB / 1.309 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4528, allocations: 30.56 kB / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4528, allocations: 0 / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004778/0.4532, allocations: 109.6 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.4534, allocations: 55.41 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.4535, allocations: 109.9 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.4535, allocations: 29.7 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.4536, allocations: 88.09 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.4536, allocations: 15.88 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.4536, allocations: 17.66 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4538, allocations: 322.8 kB / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.4539, allocations: 27.97 kB / 1.31 GB, free: 14.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.931e-05/0.454, allocations: 23.97 kB / 1.31 GB, free: 14.15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.4542, allocations: 52.81 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4542, allocations: 0 / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002559/0.4545, allocations: 85.55 kB / 1.31 GB, free: 14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4545, allocations: 8 kB / 1.31 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4545, allocations: 4 kB / 1.31 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4545, allocations: 0 / 1.31 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.4547, allocations: 11.98 kB / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4547, allocations: 0 / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.4547, allocations: 7.984 kB / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4548, allocations: 4 kB / 1.31 GB, free: 13.97 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: 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.0001846/0.4549, allocations: 118.5 kB / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.455, allocations: 7.984 kB / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.455, allocations: 12 kB / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.455, allocations: 0 / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.455, allocations: 3.938 kB / 1.31 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.455, allocations: 0 / 1.31 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.4552, allocations: 152.6 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4552, allocations: 0 / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.453e-05/0.4553, allocations: 11.98 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4553, allocations: 4 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.4553, allocations: 0 / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4553, allocations: 0 / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4553, allocations: 8.266 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.4557, allocations: 187.4 kB / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.4558, allocations: 7.953 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.4558, allocations: 4 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.4559, allocations: 7.984 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.4559, allocations: 11.98 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.456, allocations: 4 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.431e-05/0.456, allocations: 87.27 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.456, allocations: 0 / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000226/0.4562, allocations: 11.94 kB / 1.311 GB, free: 13.27 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: 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.0001483/0.4564, allocations: 99.19 kB / 1.311 GB, free: 13.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.4567, allocations: 55.89 kB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4567, allocations: 4 kB / 1.311 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.4568, allocations: 31.97 kB / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.4572, allocations: 4.938 kB / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.4576, allocations: 130.5 kB / 1.311 GB, free: 12.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.458, allocations: 0.6807 MB / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.563e-05/0.458, allocations: 11.98 kB / 1.312 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.4581, allocations: 11.44 kB / 1.312 GB, free: 12.18 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.4581, allocations: 0 / 1.312 GB, free: 12.18 MB / 1.014 GB Notification: Performance of Templates: time 0.004039/0.4621, allocations: 0.9028 MB / 1.313 GB, free: 11.29 MB / 1.014 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: 10.011040026322007]