Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001483/0.001483, allocations: 80.06 kB / 19.18 MB, free: 2.516 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.001629/0.001629, allocations: 163.5 kB / 22.46 MB, free: 5.375 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.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.993/2.993, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.434e-05/3.715e-05, allocations: 2.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002228/0.002265, allocations: 0.7051 MB / 1.001 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.003619, allocations: 0.8548 MB / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.003677, allocations: 0 / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.003716, allocations: 3.938 kB / 1.002 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.022e-05/0.003806, allocations: 3.938 kB / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.004009, allocations: 31.84 kB / 1.002 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.004123, allocations: 43.91 kB / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.004272, allocations: 7.984 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.004388, allocations: 35.91 kB / 1.002 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.004459, allocations: 11.98 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.004492, allocations: 4 kB / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.004509, allocations: 12 kB / 1.002 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.004537, allocations: 11.92 kB / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.00458, allocations: 15.97 kB / 1.002 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.004718, allocations: 47.84 kB / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.004724, allocations: 4 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004726, allocations: 0 / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.004736, allocations: 0 / 1.002 GB, free: 5.469 MB / 0.9512 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.0006168/0.005353, allocations: 278.2 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.005397, allocations: 8.031 kB / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.005441, allocations: 16.88 kB / 1.002 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.005608, allocations: 109.8 kB / 1.002 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.00563, allocations: 4.375 kB / 1.002 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.005654, allocations: 4.375 kB / 1.002 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.005896, allocations: 66.22 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.005912, allocations: 7.922 kB / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.005923, allocations: 0 / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.005928, allocations: 0 / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.00616, allocations: 51.95 kB / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.006644, allocations: 232.5 kB / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.006881, allocations: 62.48 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.007009, allocations: 32.91 kB / 1.003 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.00703, allocations: 0 / 1.003 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.007065, allocations: 34.5 kB / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.007066, allocations: 0 / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004798/0.007546, allocations: 117.5 kB / 1.003 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.007598, allocations: 51.41 kB / 1.003 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.007717, allocations: 113.9 kB / 1.003 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.00774, allocations: 29.7 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.007812, allocations: 88.06 kB / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.007837, allocations: 19.84 kB / 1.003 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.007886, allocations: 13.72 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.008075, allocations: 318.8 kB / 1.003 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.00819, allocations: 19.98 kB / 1.003 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.008292, allocations: 31.97 kB / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.008512, allocations: 56.75 kB / 1.004 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.008515, allocations: 3.938 kB / 1.004 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002652/0.008781, allocations: 77.66 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.008798, allocations: 7.984 kB / 1.004 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.008804, allocations: 4 kB / 1.004 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.008822, allocations: 4 kB / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.008954, allocations: 11.98 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.008959, allocations: 0 / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.009027, allocations: 4 kB / 1.004 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.00904, allocations: 3.984 kB / 1.004 GB, free: 3.449 MB / 0.9512 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.0001085/0.009149, allocations: 117.8 kB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.009183, allocations: 11.95 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.009214, allocations: 11.94 kB / 1.004 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.009216, allocations: 0 / 1.004 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.009221, allocations: 4 kB / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.009224, allocations: 336 / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.009391, allocations: 113.3 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.009394, allocations: 3.938 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.009495, allocations: 15.98 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.009497, allocations: 0 / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.009511, allocations: 7.969 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.009513, allocations: 0 / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009514, allocations: 0 / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.009842, allocations: 183.5 kB / 1.004 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.009856, allocations: 7.891 kB / 1.004 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.009875, allocations: 4 kB / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-05/0.009973, allocations: 7.984 kB / 1.004 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.01004, allocations: 7.984 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.01005, allocations: 7.938 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.019e-05/0.01011, allocations: 83.28 kB / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.01011, allocations: 3.938 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002278/0.01033, allocations: 15.88 kB / 1.004 GB, free: 2.793 MB / 0.9512 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.0001508/0.01048, allocations: 103.2 kB / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.01076, allocations: 55.95 kB / 1.004 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01077, allocations: 0 / 1.004 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.01089, allocations: 35.91 kB / 1.004 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.01121, allocations: 3.938 kB / 1.004 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.01161, allocations: 128.8 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.172e-05/0.01169, allocations: 75.28 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.305e-05/0.01173, allocations: 4 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.01179, allocations: 12.48 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of SimCode: time 6.42e-07/0.01179, allocations: 4 kB / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of Templates: time 0.00413/0.01592, allocations: 0.9378 MB / 1.006 GB, free: 1.395 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.374696500599384]