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.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.001341/0.001341, allocations: 106 kB / 17.07 MB, free: 5.969 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.001394/0.001394, allocations: 198.6 kB / 20.03 MB, free: 3.035 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.472/1.472, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.258/3.258, allocations: 491.4 MB / 0.7708 GB, free: 1.84 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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 0.002031/0.002032, allocations: 64.14 kB / 1.106 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3556, allocations: 164.3 MB / 1.266 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002007/0.3577, allocations: 0.7016 MB / 1.267 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3588, allocations: 0.8312 MB / 1.268 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.3589, allocations: 4 kB / 1.268 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.3589, allocations: 7.922 kB / 1.268 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.587e-05/0.359, allocations: 11.92 kB / 1.268 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.3592, allocations: 23.92 kB / 1.268 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.023e-05/0.3593, allocations: 43.91 kB / 1.268 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3594, allocations: 8 kB / 1.268 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.3595, allocations: 27.91 kB / 1.268 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.27e-05/0.3596, allocations: 23.91 kB / 1.268 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.3596, allocations: 7.938 kB / 1.268 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.422e-05/0.3596, allocations: 8 kB / 1.268 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.3596, allocations: 4 kB / 1.268 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.3597, allocations: 23.86 kB / 1.268 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.3598, allocations: 47.78 kB / 1.268 GB, free: 12.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3598, allocations: 4 kB / 1.268 GB, free: 12.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.366e-06/0.3598, allocations: 0 / 1.268 GB, free: 12.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3598, allocations: 7.938 kB / 1.268 GB, free: 12.65 MB / 1.061 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.0005916/0.3604, allocations: 347.4 kB / 1.268 GB, free: 12.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3605, allocations: 8.031 kB / 1.268 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.3605, allocations: 12.89 kB / 1.268 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.3607, allocations: 168.3 kB / 1.268 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3607, allocations: 4.375 kB / 1.268 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.3607, allocations: 4.375 kB / 1.268 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.361, allocations: 69.53 kB / 1.268 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.361, allocations: 0 / 1.268 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.361, allocations: 0 / 1.268 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.361, allocations: 4 kB / 1.268 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.3612, allocations: 59.91 kB / 1.269 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.3617, allocations: 288.8 kB / 1.269 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.3619, allocations: 62.48 kB / 1.269 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3621, allocations: 40.91 kB / 1.269 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3621, allocations: 0 / 1.269 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3621, allocations: 30.56 kB / 1.269 GB, free: 11.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3621, allocations: 4 kB / 1.269 GB, free: 11.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004388/0.3626, allocations: 101.6 kB / 1.269 GB, free: 11.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.3626, allocations: 59.39 kB / 1.269 GB, free: 11.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.477e-05/0.3627, allocations: 117.7 kB / 1.269 GB, free: 11.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3628, allocations: 25.7 kB / 1.269 GB, free: 11.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.3628, allocations: 92.09 kB / 1.269 GB, free: 10.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.3628, allocations: 3.953 kB / 1.269 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.3629, allocations: 21.7 kB / 1.269 GB, free: 10.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3631, allocations: 318.8 kB / 1.27 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.3632, allocations: 23.97 kB / 1.27 GB, free: 10.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.3634, allocations: 27.98 kB / 1.27 GB, free: 10.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.3636, allocations: 53.08 kB / 1.27 GB, free: 10.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3636, allocations: 0 / 1.27 GB, free: 10.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002666/0.3638, allocations: 89.59 kB / 1.27 GB, free: 10.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3639, allocations: 4 kB / 1.27 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3639, allocations: 7.938 kB / 1.27 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3639, allocations: 3.938 kB / 1.27 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.364, allocations: 15.98 kB / 1.27 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3641, allocations: 0 / 1.27 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.3641, allocations: 11.92 kB / 1.27 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.3641, allocations: 0 / 1.27 GB, free: 10.39 MB / 1.061 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.0001001/0.3642, allocations: 117.8 kB / 1.27 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.3643, allocations: 0 / 1.27 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.3643, allocations: 11.91 kB / 1.27 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3643, allocations: 0 / 1.27 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3643, allocations: 4 kB / 1.27 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3643, allocations: 0 / 1.27 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.3646, allocations: 181.6 kB / 1.27 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3646, allocations: 0 / 1.27 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.3647, allocations: 11.98 kB / 1.27 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3647, allocations: 0 / 1.27 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3647, allocations: 4 kB / 1.27 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3647, allocations: 0 / 1.27 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3647, allocations: 7.984 kB / 1.27 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.3651, allocations: 183.4 kB / 1.27 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.3651, allocations: 85.05 kB / 1.27 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3652, allocations: 4 kB / 1.27 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.3653, allocations: 4 kB / 1.27 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.3653, allocations: 11.98 kB / 1.27 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3654, allocations: 4 kB / 1.27 GB, free: 9.668 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.827e-05/0.3654, allocations: 91.25 kB / 1.271 GB, free: 9.578 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3654, allocations: 0 / 1.271 GB, free: 9.578 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002274/0.3657, allocations: 15.94 kB / 1.271 GB, free: 9.562 MB / 1.061 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.0001366/0.3658, allocations: 95.25 kB / 1.271 GB, free: 9.461 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.3661, allocations: 59.88 kB / 1.271 GB, free: 9.402 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3661, allocations: 3.938 kB / 1.271 GB, free: 9.398 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3662, allocations: 35.97 kB / 1.271 GB, free: 9.363 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3665, allocations: 4 kB / 1.271 GB, free: 9.359 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.3669, allocations: 147.2 kB / 1.271 GB, free: 9.184 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.3673, allocations: 0.6846 MB / 1.272 GB, free: 8.473 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.3674, allocations: 15.44 kB / 1.272 GB, free: 8.457 MB / 1.061 GB Notification: Performance of SimCode: time 2.034e-06/0.3674, allocations: 0 / 1.272 GB, free: 8.457 MB / 1.061 GB Notification: Performance of Templates: time 0.00241/0.3698, allocations: 0.8175 MB / 1.272 GB, free: 7.648 MB / 1.061 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/jenkins1/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: 11.484438807005063]