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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,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=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 108 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.473/2.473, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 71.89 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7472, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001651/0.7489, allocations: 0.6118 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007873/0.7497, allocations: 0.7767 MB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.7497, allocations: 4 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.7498, allocations: 3.938 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.748e-05/0.7498, allocations: 0 / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.457e-05/0.7499, allocations: 4 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.916e-05/0.7499, allocations: 23.92 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.75, allocations: 4 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.498e-05/0.7501, allocations: 8 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.77e-05/0.7501, allocations: 7.922 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.7501, allocations: 4 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-06/0.7501, allocations: 0 / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.7501, allocations: 4 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.7502, allocations: 7.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.143e-05/0.7502, allocations: 19.95 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.7502, allocations: 0 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.31e-07/0.7502, allocations: 0 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.7502, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9356 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.0003593/0.7506, allocations: 327.6 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.7506, allocations: 8.031 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.7507, allocations: 4.844 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.75e-05/0.7508, allocations: 168.2 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.7508, allocations: 8.312 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.7508, allocations: 384 / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.751, allocations: 46.23 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.751, allocations: 4.125 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.751, allocations: 3.938 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.751, allocations: 0 / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.7511, allocations: 27.97 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.7513, allocations: 157.7 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.7514, allocations: 38.53 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.76e-05/0.7515, allocations: 20.91 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.649e-06/0.7515, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.7515, allocations: 30.56 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.7515, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002982/0.7518, allocations: 81.58 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.7519, allocations: 51.41 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.241e-05/0.7519, allocations: 97.86 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.752, allocations: 25.7 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.752, allocations: 88.12 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.752, allocations: 15.78 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.7521, allocations: 13.72 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.7522, allocations: 315 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.7522, allocations: 15.98 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.847e-05/0.7523, allocations: 15.98 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.7525, allocations: 36.81 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7525, allocations: 0 / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001801/0.7527, allocations: 61.73 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.7527, allocations: 4 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7527, allocations: 3.938 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.7527, allocations: 0 / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.7528, allocations: 7.984 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.7528, allocations: 3.938 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.7528, allocations: 7.984 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.7528, allocations: 4 kB / 1.212 GB, free: 10.21 MB / 0.9356 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.676e-05/0.7529, allocations: 109.9 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-06/0.7529, allocations: 192 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.816e-05/0.7529, allocations: 11.05 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.753, allocations: 4 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.753, allocations: 0 / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.753, allocations: 0 / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.883e-05/0.7531, allocations: 157.6 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.7531, allocations: 4 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.7531, allocations: 4 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.7531, allocations: 4 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.7531, allocations: 3.938 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7531, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7532, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.7533, allocations: 81.09 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.7534, allocations: 81.02 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.7534, allocations: 27.89 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.126e-05/0.7535, allocations: 4 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.7535, allocations: 0 / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.7535, allocations: 0 / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.428e-05/0.7535, allocations: 83.27 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7536, allocations: 0 / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001739/0.7537, allocations: 4 kB / 1.212 GB, free: 9.547 MB / 0.9356 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.0001056/0.7538, allocations: 95.25 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.754, allocations: 35.97 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7541, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/0.7541, allocations: 19.97 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.7543, allocations: 9.969 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.7546, allocations: 131.2 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.7549, allocations: 0.6729 MB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.7549, allocations: 11.44 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.7549, allocations: 0 / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of Templates: time 0.001908/0.7568, allocations: 498 kB / 1.213 GB, free: 8.02 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches