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.001045/0.001045, allocations: 108 kB / 15.61 MB, free: 152 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.001084/0.001084, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.298/1.298, 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 10.1.1-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 437.1 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5149/0.5162, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001994/0.5182, allocations: 0.6034 MB / 1.018 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008763/0.5191, allocations: 0.7806 MB / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.5191, allocations: 0 / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.5192, allocations: 0 / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.848e-05/0.5193, allocations: 7.875 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.097e-05/0.5193, allocations: 7.984 kB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.383e-05/0.5194, allocations: 19.98 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.969e-05/0.5194, allocations: 7.922 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/0.5195, allocations: 8 kB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.467e-05/0.5195, allocations: 11.92 kB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.5196, allocations: 0 / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-06/0.5196, allocations: 0 / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.5196, allocations: 4 kB / 1.019 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.5196, allocations: 7.938 kB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.562e-05/0.5197, allocations: 15.97 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5197, allocations: 0 / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5197, allocations: 0 / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.5197, allocations: 4 kB / 1.019 GB, free: 1.191 MB / 0.7637 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.0004227/0.5201, allocations: 337.9 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.5202, allocations: 8.031 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.5202, allocations: 34.75 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.5203, allocations: 4.938 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.5204, allocations: 164.3 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.5204, allocations: 384 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.5204, allocations: 384 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.5206, allocations: 54.17 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5206, allocations: 7.938 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.5206, allocations: 0 / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5206, allocations: 0 / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.5208, allocations: 27.91 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.5209, allocations: 149.7 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.796e-05/0.521, allocations: 38.59 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.5211, allocations: 20.89 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-06/0.5211, allocations: 0 / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.5212, allocations: 34.5 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.5212, allocations: 0 / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0003023/0.5215, allocations: 81.59 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.5215, allocations: 51.41 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.5216, allocations: 97.91 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.5216, allocations: 29.7 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.5217, allocations: 84.08 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.5217, allocations: 3.984 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.5217, allocations: 9.719 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.5218, allocations: 323 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.979e-05/0.5219, allocations: 15.98 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.522, allocations: 11.98 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.5221, allocations: 40.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5221, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001774/0.5223, allocations: 65.72 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5223, allocations: 7.938 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5224, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.5224, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.5225, allocations: 11.98 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5225, allocations: 0 / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.5225, allocations: 4 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.5225, allocations: 32 / 1.021 GB, free: 15.27 MB / 0.7794 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 6.455e-05/0.5226, allocations: 113.8 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.5226, allocations: 7.844 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.5226, allocations: 11.12 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5226, allocations: 0 / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5226, allocations: 0 / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5227, allocations: 192 / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.564e-05/0.5228, allocations: 153.6 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5228, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.5228, allocations: 11.97 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5228, allocations: 11.88 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.5228, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5228, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5229, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.5231, allocations: 89.09 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.5231, allocations: 77.14 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.5231, allocations: 7.938 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.213e-05/0.5232, allocations: 7.984 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.5232, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.5232, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.439e-05/0.5233, allocations: 79.28 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5233, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001739/0.5234, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 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.0004801/0.5239, allocations: 0.6358 MB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.5241, allocations: 27.97 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5241, allocations: 4.094 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.953e-05/0.5242, allocations: 15.98 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.5244, allocations: 9.484 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.5248, allocations: 127.1 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.525, allocations: 0.6806 MB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.525, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.5251, allocations: 11.5 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.5251, allocations: 4 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.5413, allocations: 1.178 MB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.681/7.222, allocations: 11.64 kB / 1.024 GB, free: 11.89 MB / 0.7794 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