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.001652/0.001657, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002288/0.002288, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.595/1.595, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.584/2.584, allocations: 390.2 MB / 0.6646 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 63.91 kB / 0.8125 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8552/0.8574, allocations: 140.4 MB / 0.9496 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.001755/0.8592, allocations: 0.6039 MB / 0.9502 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006819/0.8598, allocations: 0.7866 MB / 0.951 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.8599, allocations: 0 / 0.951 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.8599, allocations: 1.375 kB / 0.951 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.303e-05/0.86, allocations: 3.938 kB / 0.951 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.257e-05/0.86, allocations: 7.938 kB / 0.951 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.516e-05/0.8601, allocations: 19.92 kB / 0.951 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.876e-05/0.8602, allocations: 1.344 kB / 0.951 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.009e-05/0.8602, allocations: 10.62 kB / 0.951 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.454e-05/0.8603, allocations: 10.48 kB / 0.951 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.8603, allocations: 2.406 kB / 0.951 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.844e-06/0.8603, allocations: 1.406 kB / 0.951 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.8603, allocations: 7.938 kB / 0.951 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.8604, allocations: 1.094 kB / 0.951 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.022e-05/0.8604, allocations: 22.7 kB / 0.951 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8604, allocations: 1.625 kB / 0.9511 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8604, allocations: 0 / 0.9511 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.8604, allocations: 0 / 0.9511 GB, free: 8.266 MB / 0.7169 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.000362/0.8608, allocations: 336 kB / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.8609, allocations: 8.719 kB / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.8609, allocations: 2.656 kB / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.564e-05/0.861, allocations: 162.5 kB / 0.9515 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.861, allocations: 1.719 kB / 0.9515 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.861, allocations: 384 / 0.9515 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.8612, allocations: 47.33 kB / 0.9516 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.8612, allocations: 192 / 0.9516 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.8612, allocations: 9 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.8612, allocations: 0 / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.8614, allocations: 28.06 kB / 0.9516 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.8615, allocations: 152.7 kB / 0.9518 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.8616, allocations: 35.42 kB / 0.9518 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.049e-05/0.8617, allocations: 22.47 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.8617, allocations: 0 / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.8617, allocations: 32.28 kB / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.8617, allocations: 0 / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003192/0.862, allocations: 87.73 kB / 0.9519 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.8621, allocations: 51.53 kB / 0.952 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.913e-05/0.8621, allocations: 99.17 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.8622, allocations: 27.11 kB / 0.9521 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.8622, allocations: 84.14 kB / 0.9522 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.8622, allocations: 1.375 kB / 0.9522 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.8622, allocations: 15.05 kB / 0.9522 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.8623, allocations: 312.2 kB / 0.9525 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.8624, allocations: 15.2 kB / 0.9525 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.849e-05/0.8625, allocations: 21.55 kB / 0.9525 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.8626, allocations: 37.38 kB / 0.9526 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8626, allocations: 0 / 0.9526 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001744/0.8628, allocations: 64.86 kB / 0.9526 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.8628, allocations: 5.469 kB / 0.9526 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8628, allocations: 7.938 kB / 0.9526 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.8629, allocations: 1.625 kB / 0.9526 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.8629, allocations: 7.547 kB / 0.9527 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.863, allocations: 0.7812 kB / 0.9527 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.863, allocations: 7.422 kB / 0.9527 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.863, allocations: 1.406 kB / 0.9527 GB, free: 6.566 MB / 0.7169 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.999e-05/0.8631, allocations: 107.2 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.8631, allocations: 3.906 kB / 0.9528 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.8631, allocations: 12.44 kB / 0.9528 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8631, allocations: 0 / 0.9528 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8631, allocations: 1.375 kB / 0.9528 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.8631, allocations: 0 / 0.9528 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.708e-05/0.8632, allocations: 152.5 kB / 0.9529 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.8632, allocations: 0 / 0.9529 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.8633, allocations: 13.58 kB / 0.9529 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.8633, allocations: 0 / 0.9529 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.8633, allocations: 3.938 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8633, allocations: 1.406 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8633, allocations: 4 kB / 0.9529 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.8635, allocations: 89.41 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.8635, allocations: 78.36 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.8635, allocations: 7.922 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.153e-05/0.8636, allocations: 7.641 kB / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.8636, allocations: 5.375 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.8636, allocations: 1.781 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.244e-05/0.8636, allocations: 81.08 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8636, allocations: 1.5 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001759/0.8638, allocations: 1.312 kB / 0.9532 GB, free: 5.953 MB / 0.7169 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.0001218/0.864, allocations: 102.2 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.8642, allocations: 33.72 kB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8642, allocations: 1.062 kB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.8643, allocations: 21.14 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.8645, allocations: 6.172 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.8648, allocations: 101.7 kB / 0.9535 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.364e-05/0.8649, allocations: 0.6796 MB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.8649, allocations: 4 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.8649, allocations: 8.906 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.8649, allocations: 0 / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of Templates: time 0.002127/0.8671, allocations: 411.1 kB / 0.9545 GB, free: 4.797 MB / 0.7169 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/jenkins/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