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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0165/0.0165, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.002867/0.002867, allocations: 188.6 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.67/2.67, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.685/4.685, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 67.88 kB / 1.018 GB, free: 9.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912/1.915, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.003243/1.918, allocations: 0.6003 MB / 1.167 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001833/1.92, allocations: 0.7845 MB / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/1.92, allocations: 0 / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.435e-05/1.92, allocations: 11.94 kB / 1.168 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.543e-05/1.921, allocations: 0 / 1.168 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.023e-05/1.921, allocations: 3.984 kB / 1.168 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/1.921, allocations: 23.92 kB / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/1.921, allocations: 0 / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.982e-05/1.921, allocations: 4 kB / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/1.921, allocations: 11.92 kB / 1.168 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/1.921, allocations: 4 kB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.749e-06/1.921, allocations: 0 / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/1.921, allocations: 0 / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/1.921, allocations: 15.98 kB / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/1.921, allocations: 15.91 kB / 1.168 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.326e-05/1.921, allocations: 4 kB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.485e-06/1.921, allocations: 0 / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.378e-06/1.921, allocations: 0 / 1.168 GB, free: 2.32 MB / 0.8887 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.000832/1.922, allocations: 330.2 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 8.238e-05/1.922, allocations: 8.922 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.071e-05/1.923, allocations: 30.75 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/1.923, allocations: 4.875 kB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/1.923, allocations: 176.3 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/1.923, allocations: 384 / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/1.923, allocations: 384 / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/1.923, allocations: 42.23 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/1.923, allocations: 3.938 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/1.923, allocations: 3.938 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/1.923, allocations: 0 / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/1.924, allocations: 35.97 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/1.924, allocations: 149.7 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/1.924, allocations: 38.52 kB / 1.168 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/1.924, allocations: 20.91 kB / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/1.924, allocations: 0 / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/1.925, allocations: 38.56 kB / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 6.512e-06/1.925, allocations: 0 / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0006098/1.925, allocations: 81.52 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/1.925, allocations: 55.34 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/1.925, allocations: 97.86 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/1.926, allocations: 25.7 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/1.926, allocations: 88.27 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/1.926, allocations: 3.438 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/1.926, allocations: 21.7 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002359/1.926, allocations: 310.8 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/1.926, allocations: 11.98 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/1.926, allocations: 19.98 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/1.927, allocations: 36.88 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.927, allocations: 0 / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003753/1.927, allocations: 61.62 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/1.927, allocations: 11.88 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.927, allocations: 0 / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/1.927, allocations: 0 / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/1.927, allocations: 7.984 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.927, allocations: 8.031 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.262e-05/1.927, allocations: 3.984 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/1.927, allocations: 4 kB / 1.169 GB, free: 404 kB / 0.8887 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 0.000147/1.928, allocations: 109.8 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/1.928, allocations: 3.938 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/1.928, allocations: 3.125 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.928, allocations: 4 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.928, allocations: 0 / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.928, allocations: 4 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/1.928, allocations: 149.7 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.928, allocations: 4 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.618e-05/1.928, allocations: 7.984 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/1.928, allocations: 3.938 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/1.928, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.928, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.928, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/1.929, allocations: 93.16 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/1.929, allocations: 85.09 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/1.929, allocations: 3.938 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/1.929, allocations: 11.92 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/1.929, allocations: 4 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/1.929, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.599e-05/1.929, allocations: 83.27 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.01e-07/1.929, allocations: 4.031 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003567/1.929, allocations: 4 kB / 1.17 GB, free: 15.73 MB / 0.9044 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.0009558/1.93, allocations: 0.6202 MB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003708/1.931, allocations: 35.94 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/1.931, allocations: 4 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/1.931, allocations: 11.98 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/1.931, allocations: 11.92 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/1.932, allocations: 119.1 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/1.933, allocations: 0.6808 MB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.964e-05/1.933, allocations: 0 / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/1.933, allocations: 7.438 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of SimCode: time 7.41e-07/1.933, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05266/1.985, allocations: 1.216 MB / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/16.08, allocations: 10.8 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches