Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003042/0.003042, allocations: 200.1 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.713/2.713, allocations: 443.5 MB / 0.732 GB, free: 12.52 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 71.88 kB / 1.061 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9328/0.9352, allocations: 160.7 MB / 1.218 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001951/0.9371, allocations: 0.6126 MB / 1.219 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.9381, allocations: 0.7888 MB / 1.22 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.9382, allocations: 0 / 1.22 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.9382, allocations: 4.719 kB / 1.22 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.987e-05/0.9383, allocations: 0.8125 kB / 1.22 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.754e-05/0.9383, allocations: 4 kB / 1.22 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.377e-05/0.9384, allocations: 23.89 kB / 1.22 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.706e-05/0.9384, allocations: 1.219 kB / 1.22 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.9385, allocations: 2.844 kB / 1.22 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.9385, allocations: 14.05 kB / 1.22 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.9386, allocations: 1.156 kB / 1.22 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.651e-06/0.9386, allocations: 2.344 kB / 1.22 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.9386, allocations: 0 / 1.22 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.9386, allocations: 13.36 kB / 1.22 GB, free: 2.938 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.128e-05/0.9387, allocations: 16.16 kB / 1.22 GB, free: 2.926 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9387, allocations: 0 / 1.22 GB, free: 2.926 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9387, allocations: 4 kB / 1.22 GB, free: 2.922 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.9387, allocations: 0 / 1.22 GB, free: 2.922 MB / 0.92 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.0004914/0.9392, allocations: 340.8 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.9392, allocations: 8.969 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.9393, allocations: 2.031 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.9394, allocations: 166.1 kB / 1.22 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.9394, allocations: 384 / 1.22 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.9394, allocations: 5.469 kB / 1.22 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.9396, allocations: 52.02 kB / 1.22 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.9396, allocations: 192 / 1.22 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.9396, allocations: 3.938 kB / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.9396, allocations: 0 / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.9398, allocations: 28.75 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.94, allocations: 156.2 kB / 1.22 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.9401, allocations: 39.17 kB / 1.22 GB, free: 2.051 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.954e-05/0.9402, allocations: 25.38 kB / 1.22 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.9402, allocations: 1.062 kB / 1.22 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.9402, allocations: 31.81 kB / 1.221 GB, free: 1.992 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.9402, allocations: 0 / 1.221 GB, free: 1.992 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0003295/0.9406, allocations: 79.98 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.9406, allocations: 52.56 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.61e-05/0.9407, allocations: 98.95 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.9407, allocations: 25.7 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.9407, allocations: 81.3 kB / 1.221 GB, free: 1.656 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.9408, allocations: 3.984 kB / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.9408, allocations: 11.25 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9409, allocations: 321.3 kB / 1.221 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.941, allocations: 15.92 kB / 1.221 GB, free: 1.309 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.9411, allocations: 20.17 kB / 1.221 GB, free: 1.297 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.9412, allocations: 33.69 kB / 1.221 GB, free: 1.277 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9412, allocations: 0 / 1.221 GB, free: 1.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001856/0.9414, allocations: 65.47 kB / 1.221 GB, free: 1.227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.9414, allocations: 7.656 kB / 1.221 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.9414, allocations: 3.938 kB / 1.221 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.9415, allocations: 1.188 kB / 1.221 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.9415, allocations: 8.516 kB / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.9415, allocations: 0 / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.9416, allocations: 7.828 kB / 1.221 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.9416, allocations: 9.062 kB / 1.221 GB, free: 1.207 MB / 0.92 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.094e-05/0.9417, allocations: 112.5 kB / 1.221 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.9417, allocations: 1.094 kB / 1.221 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.9417, allocations: 8.5 kB / 1.221 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.9417, allocations: 3.984 kB / 1.221 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.9417, allocations: 0 / 1.221 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.9417, allocations: 5.062 kB / 1.221 GB, free: 1.074 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.9418, allocations: 151.9 kB / 1.222 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.9418, allocations: 5.172 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.9419, allocations: 9.031 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.9419, allocations: 0 / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.9419, allocations: 7.875 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9419, allocations: 1.375 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.9419, allocations: 0 / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.9422, allocations: 80.88 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.9422, allocations: 82.33 kB / 1.222 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.9422, allocations: 4.75 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.391e-05/0.9423, allocations: 7.641 kB / 1.222 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.9423, allocations: 4.969 kB / 1.222 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.9423, allocations: 1.188 kB / 1.222 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.124e-05/0.9423, allocations: 85.83 kB / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.9423, allocations: 0 / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000173/0.9425, allocations: 2.656 kB / 1.222 GB, free: 0.5938 MB / 0.92 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.0001391/0.9427, allocations: 101.8 kB / 1.222 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.9429, allocations: 29.97 kB / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9429, allocations: 0 / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.214e-05/0.943, allocations: 18 kB / 1.222 GB, free: 496 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.9432, allocations: 6.281 kB / 1.222 GB, free: 492 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.9434, allocations: 116 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.9438, allocations: 0.6788 MB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.893e-05/0.9438, allocations: 1.312 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.9438, allocations: 7.438 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.9438, allocations: 1.125 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.00272/0.9465, allocations: 421.5 kB / 1.223 GB, free: 15.44 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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: 8.870529131032526]