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.000828/0.000828, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007862/0.0007862, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8967/0.8967, allocations: 177.1 MB / 203.5 MB, free: 5.398 MB / 186.7 MB " [Timeout remaining time 179] 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 1.795/1.795, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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.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 3.366e-06/3.366e-06, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.33e-05, allocations: 2.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001394/0.001427, allocations: 0.6677 MB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007848/0.002212, allocations: 0.812 MB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.002251, allocations: 4 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.00228, allocations: 3.938 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.002342, allocations: 4 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.124e-05/0.002403, allocations: 7.984 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.116e-05/0.002475, allocations: 27.92 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.002575, allocations: 4 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.002649, allocations: 19.91 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.002682, allocations: 7.984 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.002705, allocations: 4 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-06/0.00271, allocations: 0 / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.002724, allocations: 4 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.002743, allocations: 4 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.83e-05/0.002821, allocations: 27.89 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.002824, allocations: 4 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002825, allocations: 3.938 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.002828, allocations: 0 / 1.003 GB, free: 11.31 MB / 0.9636 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.0003659/0.003194, allocations: 262.3 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.003231, allocations: 8.75 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.003261, allocations: 4.938 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.451e-05/0.003345, allocations: 109.7 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.003358, allocations: 4.375 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.003368, allocations: 4.375 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.003505, allocations: 54.23 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.003513, allocations: 192 / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.003523, allocations: 384 / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.003528, allocations: 384 / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-05/0.003621, allocations: 39.89 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.003888, allocations: 192.6 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.377e-05/0.003972, allocations: 30.56 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.004025, allocations: 32.89 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.004035, allocations: 0 / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.004056, allocations: 34.56 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.004057, allocations: 0 / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002294/0.004286, allocations: 85.52 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.004319, allocations: 55.41 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.091e-05/0.00438, allocations: 102 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.00439, allocations: 29.7 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.004428, allocations: 92.12 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.004446, allocations: 3.953 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.00447, allocations: 13.66 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.004549, allocations: 322.8 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.004593, allocations: 11.98 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.004631, allocations: 23.97 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/0.004709, allocations: 36.89 kB / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004711, allocations: 0 / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001028/0.004814, allocations: 69.59 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.004826, allocations: 4 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.004833, allocations: 7.938 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.004846, allocations: 3.984 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.004914, allocations: 4 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.004918, allocations: 4.031 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/0.004943, allocations: 11.94 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.004947, allocations: 0 / 1.004 GB, free: 9.508 MB / 0.9636 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 6.249e-05/0.00501, allocations: 113.8 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.005021, allocations: 0 / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.005043, allocations: 11.23 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.005045, allocations: 4 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.005049, allocations: 0 / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.005052, allocations: 0 / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.46e-05/0.005146, allocations: 105.3 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.005148, allocations: 4 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.005172, allocations: 11.98 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005173, allocations: 0 / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.005179, allocations: 0 / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.005181, allocations: 3.938 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005182, allocations: 3.938 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.005317, allocations: 159.5 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.005324, allocations: 7.953 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-06/0.005334, allocations: 4.031 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.726e-05/0.005371, allocations: 11.92 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.005402, allocations: 256 / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.005404, allocations: 0 / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.005436, allocations: 91.27 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005436, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001376/0.005573, allocations: 4 kB / 1.005 GB, free: 8.922 MB / 0.9636 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 9.485e-05/0.005668, allocations: 99.19 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.005798, allocations: 43.89 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.005799, allocations: 0 / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.00584, allocations: 19.98 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.006073, allocations: 4 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.006338, allocations: 134.4 kB / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.586e-05/0.006384, allocations: 63.34 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.006409, allocations: 12.62 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.006409, allocations: 0 / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of Templates: time 0.001494/0.007904, allocations: 0.5677 MB / 1.006 GB, free: 7.926 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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: 6.407470780424774]