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.00131/0.00131, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001532/0.001532, allocations: 170 kB / 23.27 MB, free: 1.223 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.9534/0.9534, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.316/2.316, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.986e-06/2.986e-06, allocations: 0 / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.205e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001906/0.001938, allocations: 0.6272 MB / 0.8904 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000991/0.002929, allocations: 0.8314 MB / 0.8912 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.002964, allocations: 0 / 0.8912 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.002992, allocations: 3.938 kB / 0.8912 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.694e-05/0.003059, allocations: 0 / 0.8912 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.52e-05/0.003104, allocations: 11.98 kB / 0.8912 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.003168, allocations: 19.94 kB / 0.8913 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.003211, allocations: 7.984 kB / 0.8913 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/0.003294, allocations: 4 kB / 0.8913 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/0.00333, allocations: 15.92 kB / 0.8913 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.003346, allocations: 0 / 0.8913 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-06/0.003353, allocations: 4 kB / 0.8913 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.003369, allocations: 0 / 0.8913 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.003388, allocations: 0 / 0.8913 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.623e-05/0.003464, allocations: 15.97 kB / 0.8913 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.003467, allocations: 4 kB / 0.8913 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003468, allocations: 0 / 0.8913 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.003472, allocations: 0 / 0.8913 GB, free: 8.18 MB / 0.8542 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.00035/0.003822, allocations: 356.7 kB / 0.8916 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.003867, allocations: 8.625 kB / 0.8916 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.003893, allocations: 4.875 kB / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.513e-05/0.003978, allocations: 116.6 kB / 0.8918 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.003988, allocations: 384 / 0.8918 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.003995, allocations: 384 / 0.8918 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.004096, allocations: 50.95 kB / 0.8918 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.004103, allocations: 4.188 kB / 0.8918 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.004109, allocations: 384 / 0.8918 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.004115, allocations: 384 / 0.8918 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.362e-05/0.004129, allocations: 7.875 kB / 0.8918 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.00424, allocations: 97.27 kB / 0.8919 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.816e-05/0.004278, allocations: 27 kB / 0.8919 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.004296, allocations: 11.78 kB / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.004302, allocations: 0 / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.004325, allocations: 33.39 kB / 0.892 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.004326, allocations: 0 / 0.892 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001054/0.004431, allocations: 37.69 kB / 0.892 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.004462, allocations: 59.34 kB / 0.8921 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.207e-05/0.004544, allocations: 157.9 kB / 0.8922 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.004554, allocations: 25.7 kB / 0.8923 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.004601, allocations: 134.9 kB / 0.8924 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.004623, allocations: 0 / 0.8924 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.004651, allocations: 19.38 kB / 0.8924 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.004786, allocations: 0.4883 MB / 0.8929 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-06/0.004795, allocations: 0 / 0.8929 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-06/0.004804, allocations: 4 kB / 0.8929 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.372e-05/0.004827, allocations: 11.88 kB / 0.8929 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.004829, allocations: 0 / 0.8929 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.832e-05/0.004888, allocations: 41.59 kB / 0.8929 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.004901, allocations: 7.984 kB / 0.8929 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004905, allocations: 0 / 0.8929 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.004917, allocations: 0 / 0.8929 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.004977, allocations: 4 kB / 0.8929 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.004979, allocations: 0 / 0.8929 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.005001, allocations: 4 kB / 0.8929 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.005007, allocations: 7.938 kB / 0.893 GB, free: 6.281 MB / 0.8542 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 7.097e-05/0.005078, allocations: 156.6 kB / 0.8931 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-06/0.005088, allocations: 7.984 kB / 0.8931 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.005114, allocations: 7.156 kB / 0.8931 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005115, allocations: 192 / 0.8931 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.005117, allocations: 0 / 0.8931 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.005121, allocations: 3.984 kB / 0.8931 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.603e-05/0.005197, allocations: 101.1 kB / 0.8932 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005198, allocations: 0 / 0.8932 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.00522, allocations: 7.984 kB / 0.8932 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005221, allocations: 3.938 kB / 0.8932 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.005226, allocations: 4 kB / 0.8932 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.005227, allocations: 0 / 0.8932 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005228, allocations: 0 / 0.8932 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.364e-05/0.005301, allocations: 72.33 kB / 0.8933 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.005308, allocations: 0 / 0.8933 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.005318, allocations: 3.984 kB / 0.8933 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.005336, allocations: 8 kB / 0.8933 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.005362, allocations: 0 / 0.8933 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.005364, allocations: 0 / 0.8933 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.005405, allocations: 127.2 kB / 0.8934 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.005405, allocations: 4.031 kB / 0.8934 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001861/0.005591, allocations: 4 kB / 0.8934 GB, free: 5.715 MB / 0.8542 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 9.389e-05/0.005685, allocations: 91.25 kB / 0.8935 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.351e-05/0.005749, allocations: 15.67 kB / 0.8935 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.00575, allocations: 0 / 0.8935 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.748e-05/0.005768, allocations: 15.62 kB / 0.8936 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.005944, allocations: 6.125 kB / 0.8936 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.006161, allocations: 102.7 kB / 0.8937 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.195e-05/0.006203, allocations: 51.36 kB / 0.8937 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.569e-05/0.006218, allocations: 4 kB / 0.8937 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.006268, allocations: 70.19 kB / 0.8938 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/0.006268, allocations: 0 / 0.8938 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of Templates: time 0.002327/0.008595, allocations: 497.4 kB / 0.8943 GB, free: 4.816 MB / 0.8542 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 -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.187370486091822]