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.0008191/0.0008191, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001018/0.001018, allocations: 169.9 kB / 24.87 MB, free: 9.258 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.9745/0.9745, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.995/1.995, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.344e-06/2.344e-06, allocations: 0 / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.168e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.00195/0.001982, allocations: 0.6231 MB / 0.8134 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.003008, allocations: 0.83 MB / 0.8142 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.003042, allocations: 0 / 0.8142 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.003071, allocations: 3.938 kB / 0.8142 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.00314, allocations: 0.6562 kB / 0.8142 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 4.773e-05/0.003188, allocations: 7.984 kB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.426e-05/0.003262, allocations: 17.19 kB / 0.8143 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.003309, allocations: 3.984 kB / 0.8143 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.087e-05/0.00339, allocations: 11.94 kB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.923e-05/0.003429, allocations: 12.48 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.003444, allocations: 2.406 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.48e-06/0.00345, allocations: 0 / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.003467, allocations: 4 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.003487, allocations: 7.938 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.128e-05/0.003569, allocations: 11.98 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.003571, allocations: 0 / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003573, allocations: 0 / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.003578, allocations: 0.9062 kB / 0.8143 GB, free: 15.87 MB / 0.7761 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.0003792/0.003957, allocations: 348.7 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.004005, allocations: 13.06 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.004036, allocations: 4.891 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.004144, allocations: 114 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.004157, allocations: 384 / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.004164, allocations: 384 / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.004287, allocations: 46.95 kB / 0.8148 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.004295, allocations: 2.125 kB / 0.8148 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.004302, allocations: 384 / 0.8148 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.004309, allocations: 4.375 kB / 0.8148 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.494e-05/0.004324, allocations: 7.875 kB / 0.8148 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.00445, allocations: 97.3 kB / 0.8149 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.504e-05/0.004505, allocations: 24.66 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.004522, allocations: 7.688 kB / 0.815 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.004529, allocations: 0 / 0.815 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.00456, allocations: 37.45 kB / 0.815 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.004561, allocations: 1 kB / 0.815 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001207/0.004682, allocations: 38.16 kB / 0.815 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.00472, allocations: 51.41 kB / 0.8151 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.004805, allocations: 158.5 kB / 0.8152 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.004819, allocations: 30.77 kB / 0.8153 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.004868, allocations: 134.8 kB / 0.8154 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.004896, allocations: 7.938 kB / 0.8154 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.004926, allocations: 16 kB / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.005078, allocations: 0.4922 MB / 0.8159 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.00509, allocations: 0.5312 kB / 0.8159 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.005099, allocations: 1.375 kB / 0.8159 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/0.005131, allocations: 15.62 kB / 0.8159 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005133, allocations: 1.156 kB / 0.8159 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.759e-05/0.005201, allocations: 29.7 kB / 0.8159 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.005216, allocations: 4 kB / 0.8159 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.005223, allocations: 4.938 kB / 0.816 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.005233, allocations: 3.984 kB / 0.816 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.005298, allocations: 0.8438 kB / 0.816 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.005301, allocations: 4 kB / 0.816 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.249e-05/0.005323, allocations: 0.8438 kB / 0.816 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.005331, allocations: 3.938 kB / 0.816 GB, free: 14 MB / 0.7761 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 8.636e-05/0.005417, allocations: 161.9 kB / 0.8161 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.005425, allocations: 0 / 0.8161 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.005448, allocations: 7.328 kB / 0.8161 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.005451, allocations: 4.828 kB / 0.8161 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.005454, allocations: 0 / 0.8161 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005456, allocations: 4 kB / 0.8161 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.07e-05/0.005537, allocations: 98.08 kB / 0.8162 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.005539, allocations: 0 / 0.8162 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.005582, allocations: 13.42 kB / 0.8162 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.005585, allocations: 0 / 0.8162 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-06/0.005589, allocations: 0 / 0.8162 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.005593, allocations: 8 kB / 0.8162 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.005594, allocations: 1.25 kB / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.251e-05/0.005687, allocations: 64.39 kB / 0.8163 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.005699, allocations: 11.95 kB / 0.8163 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.005708, allocations: 3.094 kB / 0.8163 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/0.005731, allocations: 7.984 kB / 0.8163 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.005759, allocations: 0 / 0.8163 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.005762, allocations: 0 / 0.8163 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.005805, allocations: 123.2 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.005805, allocations: 3.938 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002106/0.006016, allocations: 0 / 0.8165 GB, free: 13.44 MB / 0.7761 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 0.0001155/0.006132, allocations: 99.73 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.402e-05/0.006206, allocations: 16.97 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006207, allocations: 0 / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.006227, allocations: 12.77 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.00644, allocations: 14.38 kB / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.006694, allocations: 102.1 kB / 0.8167 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.199e-05/0.006726, allocations: 53.89 kB / 0.8167 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.943e-05/0.006745, allocations: 0 / 0.8167 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.006793, allocations: 70.2 kB / 0.8168 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of SimCode: time 8.21e-07/0.006794, allocations: 0 / 0.8168 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.002572/0.009366, allocations: 0.497 MB / 0.8173 GB, free: 12.54 MB / 0.7761 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.302475005853921]