Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.001361/0.001361, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.00112/0.00112, allocations: 173 kB / 23.36 MB, free: 0.9727 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.9842/0.9842, allocations: 177.1 MB / 203.8 MB, free: 5.473 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 2.499/2.499, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 1.203 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.625e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001389/0.001415, allocations: 0.6554 MB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007355/0.00215, allocations: 0.8314 MB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.002176, allocations: 4 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.002198, allocations: 0 / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.263e-05/0.002261, allocations: 15.86 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.864e-05/0.0023, allocations: 4 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.881e-05/0.002358, allocations: 19.92 kB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.002392, allocations: 0 / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.167e-05/0.002464, allocations: 11.98 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.662e-05/0.002491, allocations: 4 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.002503, allocations: 0 / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.519e-06/0.002508, allocations: 0 / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.002522, allocations: 8 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.002537, allocations: 7.984 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 5.292e-05/0.00259, allocations: 7.938 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002592, allocations: 4 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.81e-07/0.002592, allocations: 0 / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.002596, allocations: 0 / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002473/0.002843, allocations: 233 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.002876, allocations: 12.62 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.919e-05/0.002895, allocations: 0.9375 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.424e-05/0.002969, allocations: 105.8 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.002977, allocations: 384 / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-06/0.002982, allocations: 4.375 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.526e-05/0.003057, allocations: 50.89 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.003064, allocations: 192 / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.00307, allocations: 4.375 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.003075, allocations: 4.359 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.086e-05/0.003086, allocations: 3.938 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.106e-05/0.003157, allocations: 57.05 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.711e-05/0.003194, allocations: 18.56 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.539e-05/0.00321, allocations: 8.953 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.952e-06/0.003216, allocations: 4 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.00324, allocations: 38.5 kB / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.003241, allocations: 0 / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.504e-05/0.003316, allocations: 29.7 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.003341, allocations: 55.41 kB / 0.8408 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.815e-05/0.003389, allocations: 106.7 kB / 0.8409 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.004e-06/0.003396, allocations: 25.7 kB / 0.8409 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.055e-05/0.003416, allocations: 80.14 kB / 0.841 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.003435, allocations: 3.953 kB / 0.841 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/0.003455, allocations: 13.72 kB / 0.841 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.003524, allocations: 318.9 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-06/0.003531, allocations: 4 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.014e-05/0.003541, allocations: 11.88 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.004e-05/0.003561, allocations: 12.83 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.003563, allocations: 4 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.328e-05/0.003596, allocations: 29.7 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.003606, allocations: 4 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.00361, allocations: 0 / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.00362, allocations: 0 / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.003666, allocations: 12.08 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.003668, allocations: 0 / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.003683, allocations: 4 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.003687, allocations: 0 / 0.8414 GB, free: 11.14 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 (1): * Single equations (assignments): 1 * 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 4.491e-05/0.003732, allocations: 113.8 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-06/0.003738, allocations: 7.938 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.428e-05/0.003753, allocations: 3.156 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.003755, allocations: 3.984 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.003756, allocations: 0 / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.003758, allocations: 0 / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.317e-05/0.003801, allocations: 73.78 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.003802, allocations: 0 / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.003815, allocations: 4 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.003816, allocations: 0 / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.003822, allocations: 3.984 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.003822, allocations: 0 / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.003823, allocations: 0 / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.096e-05/0.003864, allocations: 57.08 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-06/0.003867, allocations: 0 / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-06/0.003874, allocations: 7.984 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.023e-05/0.003884, allocations: 4.031 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.003906, allocations: 8 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-06/0.003908, allocations: 4 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.015e-06/0.003916, allocations: 8.797 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.003916, allocations: 0 / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.069e-05/0.004006, allocations: 4 kB / 0.8417 GB, free: 10.79 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 (1): * Single equations (assignments): 1 * 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 6.181e-05/0.004068, allocations: 80.41 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.564e-05/0.004114, allocations: 8.859 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.004116, allocations: 0 / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.004126, allocations: 12.86 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.197e-05/0.004208, allocations: 11.92 kB / 0.8418 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001735/0.004382, allocations: 104.7 kB / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.341e-05/0.004405, allocations: 51.36 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.371e-05/0.004419, allocations: 3.938 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.004465, allocations: 55.36 kB / 0.842 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.004465, allocations: 0 / 0.842 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.001618/0.006083, allocations: 451.6 kB / 0.8425 GB, free: 9.984 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.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.310966037679464]