Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001686, allocations: 108.2 kB / 16.41 MB, free: 6.496 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.0016/0.0016, allocations: 187 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.168/2.168, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 0.9516 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7985, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.001751/0.8003, allocations: 0.6074 MB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007738/0.8011, allocations: 0.7816 MB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.8011, allocations: 0 / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.8012, allocations: 5.266 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.572e-05/0.8012, allocations: 3.938 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.922e-05/0.8013, allocations: 2.797 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.106e-05/0.8014, allocations: 18.12 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.402e-05/0.8014, allocations: 6.672 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.8015, allocations: 8.125 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.8015, allocations: 8.406 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.8015, allocations: 2.156 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-06/0.8016, allocations: 1.031 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.8016, allocations: 4.641 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.8016, allocations: 15.17 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.508e-05/0.8017, allocations: 20.06 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8017, allocations: 0 / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8017, allocations: 0 / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.8017, allocations: 1.688 kB / 1.09 GB, free: 4.477 MB / 0.8575 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.0003622/0.8021, allocations: 322 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.8021, allocations: 10.33 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.8022, allocations: 2.031 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.851e-05/0.8022, allocations: 178.3 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.8023, allocations: 4.375 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.8023, allocations: 1.469 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.8024, allocations: 41 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.8024, allocations: 1.281 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.8025, allocations: 4.594 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.8025, allocations: 0 / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.8026, allocations: 37.8 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.8027, allocations: 152.4 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.8029, allocations: 28.75 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.004e-05/0.8029, allocations: 22.78 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.803, allocations: 0 / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.803, allocations: 36.5 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.803, allocations: 0 / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002961/0.8033, allocations: 78.86 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.8033, allocations: 52.5 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.566e-05/0.8034, allocations: 101.8 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.8034, allocations: 25.7 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.083e-05/0.8034, allocations: 82.05 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.8034, allocations: 4 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.8035, allocations: 20.47 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.344e-05/0.8035, allocations: 312.7 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.8036, allocations: 13.84 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.701e-05/0.8037, allocations: 16.3 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.8038, allocations: 35.31 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.8038, allocations: 0 / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001682/0.804, allocations: 67.64 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.804, allocations: 5.062 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.804, allocations: 4.969 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.8041, allocations: 8.453 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.8041, allocations: 6.922 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.8042, allocations: 5.234 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.8042, allocations: 5.656 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.8042, allocations: 0.6562 kB / 1.092 GB, free: 2.867 MB / 0.8575 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 4.591e-05/0.8043, allocations: 112.2 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.8043, allocations: 2.047 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.8043, allocations: 12.55 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.8043, allocations: 0 / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8043, allocations: 0.6875 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.8043, allocations: 5.391 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.614e-05/0.8044, allocations: 152.3 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.8044, allocations: 1.625 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.8045, allocations: 10.42 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.8045, allocations: 1.672 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.8045, allocations: 3.938 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8045, allocations: 0.8125 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8045, allocations: 0 / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.8047, allocations: 89.05 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.8047, allocations: 79.16 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.8047, allocations: 4.906 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.067e-05/0.8047, allocations: 5.719 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.8048, allocations: 2.609 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.8048, allocations: 0 / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.346e-05/0.8048, allocations: 83.88 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8048, allocations: 4.031 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001725/0.805, allocations: 3.281 kB / 1.092 GB, free: 2.281 MB / 0.8575 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.0001117/0.8051, allocations: 99.33 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.8053, allocations: 31.41 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8053, allocations: 5.062 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.822e-05/0.8054, allocations: 17.56 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.8056, allocations: 7.297 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.8059, allocations: 123 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.546e-05/0.806, allocations: 0.6743 MB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.806, allocations: 12.44 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.806, allocations: 3.938 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of Templates: time 0.001922/0.808, allocations: 0.4908 MB / 1.094 GB, free: 1.305 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches