Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.0007629/0.0007629, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009962/0.001759, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007736/0.0007736, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.001947, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.97/0.97, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09468/1.065, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.433/2.433, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2708/2.703, allocations: 145.9 MB / 0.817 GB, free: 4.23 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 0.8184 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.41e-05/3.631e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002201/0.002237, allocations: 0.7301 MB / 0.8191 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.003267, allocations: 0.8314 MB / 0.8199 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.0033, allocations: 0 / 0.8199 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.003324, allocations: 0 / 0.8199 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.549e-05/0.003369, allocations: 7.938 kB / 0.8199 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.621e-05/0.003426, allocations: 7.984 kB / 0.8199 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.712e-05/0.003503, allocations: 23.92 kB / 0.8199 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.003599, allocations: 19.92 kB / 0.8199 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.487e-05/0.003694, allocations: 15.98 kB / 0.82 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.003737, allocations: 3.984 kB / 0.82 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.003762, allocations: 4 kB / 0.82 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-06/0.003768, allocations: 0 / 0.82 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.003786, allocations: 7.938 kB / 0.82 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.003809, allocations: 4 kB / 0.82 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.688e-05/0.003896, allocations: 12 kB / 0.82 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.005e-05/0.003916, allocations: 0 / 0.82 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.493e-06/0.003918, allocations: 0 / 0.82 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.059e-05/0.003938, allocations: 0 / 0.82 GB, free: 1.168 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004042/0.004342, allocations: 248.5 kB / 0.8202 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.004382, allocations: 8.625 kB / 0.8202 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.004414, allocations: 8.938 kB / 0.8202 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.004517, allocations: 109.8 kB / 0.8203 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.00453, allocations: 4.312 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.004539, allocations: 4.359 kB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.004676, allocations: 54.94 kB / 0.8204 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004684, allocations: 192 / 0.8204 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.004692, allocations: 384 / 0.8204 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.004697, allocations: 384 / 0.8204 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.779e-05/0.004725, allocations: 11.94 kB / 0.8204 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.004962, allocations: 144.4 kB / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.659e-05/0.005019, allocations: 22.52 kB / 0.8206 GB, free: 492 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.005042, allocations: 8.922 kB / 0.8206 GB, free: 480 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.00505, allocations: 0 / 0.8206 GB, free: 480 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.005074, allocations: 34.56 kB / 0.8206 GB, free: 436 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.694e-06/0.005076, allocations: 0 / 0.8206 GB, free: 436 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001373/0.005213, allocations: 37.69 kB / 0.8207 GB, free: 392 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.00526, allocations: 59.41 kB / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.005332, allocations: 110.7 kB / 0.8208 GB, free: 196 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.005343, allocations: 29.7 kB / 0.8208 GB, free: 160 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.005384, allocations: 84.12 kB / 0.8209 GB, free: 72 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.005407, allocations: 7.938 kB / 0.8209 GB, free: 64 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.00544, allocations: 13.72 kB / 0.8209 GB, free: 44 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.005612, allocations: 310.8 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.005627, allocations: 4 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-06/0.005636, allocations: 0 / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/0.005667, allocations: 12.84 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.005669, allocations: 4.062 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.752e-05/0.005737, allocations: 37.64 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.005754, allocations: 4 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.00576, allocations: 0 / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.005772, allocations: 4 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.031e-05/0.005862, allocations: 15.92 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.005865, allocations: 0 / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.00589, allocations: 7.938 kB / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.005895, allocations: 3.938 kB / 0.8213 GB, free: 15.63 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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 7.155e-05/0.005966, allocations: 109.9 kB / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.005988, allocations: 4 kB / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.006011, allocations: 7.297 kB / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.006014, allocations: 0 / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.006017, allocations: 4.188 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.006021, allocations: 0 / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.006144, allocations: 69.89 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.006146, allocations: 0 / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.006194, allocations: 11.98 kB / 0.8215 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.006203, allocations: 7.953 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.006206, allocations: 0 / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.006211, allocations: 4 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.006213, allocations: 0 / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.006216, allocations: 7.938 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.006324, allocations: 131.5 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.006335, allocations: 0 / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.006391, allocations: 4 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.006425, allocations: 3.984 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.006428, allocations: 0 / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.592e-05/0.006443, allocations: 12.8 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.006444, allocations: 0 / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001895/0.006633, allocations: 12.03 kB / 0.8217 GB, free: 15.2 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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.0001172/0.00675, allocations: 76.42 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.88e-05/0.006819, allocations: 8.859 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.006828, allocations: 3.984 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.927e-05/0.006848, allocations: 12.8 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.007065, allocations: 4 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.007537, allocations: 120.8 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.007e-05/0.007577, allocations: 55.34 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.267e-05/0.0076, allocations: 4 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.007652, allocations: 47.38 kB / 0.822 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of SimCode: time 7.42e-07/0.007652, allocations: 4 kB / 0.822 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of Templates: time 0.002672/0.01032, allocations: 479.2 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1836802288889885]