Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001069/0.001069, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001148/0.001148, allocations: 161 kB / 23.82 MB, free: 0.75 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.9511/0.9511, allocations: 177.1 MB / 204.2 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.905/1.905, allocations: 377.8 MB / 0.6236 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8116 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.963e-05, allocations: 6.266 kB / 0.8116 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001123/0.001143, allocations: 0.6197 MB / 0.8122 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007287/0.001872, allocations: 0.8379 MB / 0.813 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.0019, allocations: 1.25 kB / 0.813 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.001928, allocations: 0 / 0.813 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.001992, allocations: 4.156 kB / 0.813 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.485e-05/0.002047, allocations: 8 kB / 0.813 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.209e-05/0.002109, allocations: 17.8 kB / 0.813 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.002153, allocations: 7.984 kB / 0.813 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.155e-05/0.002235, allocations: 11.98 kB / 0.8131 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.868e-05/0.002263, allocations: 4 kB / 0.8131 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.002279, allocations: 4.719 kB / 0.8131 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-06/0.002285, allocations: 0 / 0.8131 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.002296, allocations: 0.7812 kB / 0.8131 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.002316, allocations: 11.92 kB / 0.8131 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.666e-05/0.002383, allocations: 11.94 kB / 0.8131 GB, free: 15 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.002386, allocations: 5.234 kB / 0.8131 GB, free: 15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.42e-07/0.002386, allocations: 0 / 0.8131 GB, free: 15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.666e-06/0.00239, allocations: 0 / 0.8131 GB, free: 15 MB / 0.7292 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.0003022/0.002692, allocations: 349.8 kB / 0.8134 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.002728, allocations: 8.031 kB / 0.8134 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.002764, allocations: 0.9375 kB / 0.8134 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.828e-05/0.002843, allocations: 117.3 kB / 0.8135 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.002853, allocations: 384 / 0.8135 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.002863, allocations: 1.281 kB / 0.8135 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.002966, allocations: 50.95 kB / 0.8136 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.002976, allocations: 0.8438 kB / 0.8136 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.002984, allocations: 384 / 0.8136 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.002991, allocations: 0.9375 kB / 0.8136 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.823e-05/0.003009, allocations: 9.125 kB / 0.8136 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.003118, allocations: 112.6 kB / 0.8137 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.936e-05/0.003157, allocations: 31.09 kB / 0.8137 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.003176, allocations: 9.938 kB / 0.8138 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.003183, allocations: 0 / 0.8138 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.003203, allocations: 33.39 kB / 0.8138 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.003204, allocations: 4.062 kB / 0.8138 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001093/0.003313, allocations: 33.64 kB / 0.8138 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.003342, allocations: 52.12 kB / 0.8139 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.674e-05/0.003418, allocations: 169.8 kB / 0.814 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.003427, allocations: 27.23 kB / 0.8141 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.003464, allocations: 126.9 kB / 0.8142 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.003485, allocations: 7.953 kB / 0.8142 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.003508, allocations: 19.38 kB / 0.8142 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.003614, allocations: 497.2 kB / 0.8147 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.003625, allocations: 4 kB / 0.8147 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.003632, allocations: 0 / 0.8147 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.305e-05/0.003655, allocations: 12.28 kB / 0.8147 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.003656, allocations: 0.5312 kB / 0.8147 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.705e-05/0.003704, allocations: 34.14 kB / 0.8147 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.003715, allocations: 8.469 kB / 0.8147 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.003719, allocations: 0.875 kB / 0.8147 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.003736, allocations: 4 kB / 0.8147 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.003804, allocations: 8.797 kB / 0.8147 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.003809, allocations: 0 / 0.8147 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.003824, allocations: 8.469 kB / 0.8148 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.003829, allocations: 0 / 0.8148 GB, free: 13.1 MB / 0.7292 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 5.934e-05/0.003888, allocations: 158 kB / 0.8149 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-06/0.003892, allocations: 0 / 0.8149 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.003915, allocations: 3.156 kB / 0.8149 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.003916, allocations: 1.25 kB / 0.8149 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.003919, allocations: 0 / 0.8149 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.003923, allocations: 3.938 kB / 0.8149 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.05e-05/0.003984, allocations: 121.3 kB / 0.815 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.003984, allocations: 0 / 0.815 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.487e-05/0.003999, allocations: 4.719 kB / 0.815 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.004, allocations: 0 / 0.815 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.004005, allocations: 0.5312 kB / 0.815 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.004008, allocations: 9.391 kB / 0.815 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.004009, allocations: 0 / 0.815 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.863e-05/0.004067, allocations: 68.33 kB / 0.8151 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-06/0.004075, allocations: 8.672 kB / 0.8151 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.004083, allocations: 0 / 0.8151 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.004096, allocations: 9.703 kB / 0.8151 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.004128, allocations: 4 kB / 0.8151 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-06/0.00413, allocations: 0 / 0.8151 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.004164, allocations: 123.2 kB / 0.8152 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.004164, allocations: 0 / 0.8152 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001124/0.004277, allocations: 4.812 kB / 0.8153 GB, free: 12.53 MB / 0.7292 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 7.017e-05/0.004347, allocations: 102.7 kB / 0.8153 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.967e-05/0.004417, allocations: 15.62 kB / 0.8154 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.004418, allocations: 0 / 0.8154 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.496e-05/0.004433, allocations: 11.69 kB / 0.8154 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.004569, allocations: 4 kB / 0.8154 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.004791, allocations: 94.45 kB / 0.8155 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.939e-05/0.00482, allocations: 55.8 kB / 0.8155 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.369e-05/0.004834, allocations: 9.75 kB / 0.8155 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.004858, allocations: 8.5 kB / 0.8155 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.004859, allocations: 0 / 0.8155 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of Templates: time 0.001792/0.006651, allocations: 470.6 kB / 0.816 GB, free: 11.73 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.173747485969216]