Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006389/0.006389, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001411/0.001411, allocations: 193.2 kB / 16.67 MB, free: 5.93 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.958/2.958, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.88 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3461, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001815/0.348, allocations: 0.6037 MB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009562/0.3489, allocations: 0.7864 MB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.349, allocations: 0 / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.349, allocations: 0 / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.223e-05/0.3491, allocations: 3.938 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.8e-05/0.3491, allocations: 11.98 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.911e-05/0.3492, allocations: 19.88 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.625e-05/0.3493, allocations: 4 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.3493, allocations: 7.984 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.075e-05/0.3494, allocations: 7.938 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.3494, allocations: 0 / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-06/0.3494, allocations: 4 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.3494, allocations: 7.984 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.3495, allocations: 3.938 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.241e-05/0.3495, allocations: 15.97 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3495, allocations: 3.984 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3496, allocations: 4 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3496, allocations: 0 / 1.222 GB, free: 12.78 MB / 0.9825 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.0004618/0.35, allocations: 331.5 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3501, allocations: 12.03 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.3501, allocations: 30.75 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.212e-05/0.3502, allocations: 4.922 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.3503, allocations: 164.3 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3503, allocations: 8.312 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.3503, allocations: 384 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.3505, allocations: 46.19 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3505, allocations: 3.938 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3505, allocations: 3.984 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3505, allocations: 0 / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.3507, allocations: 27.97 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.3508, allocations: 153.7 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.351, allocations: 38.53 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.735e-05/0.3511, allocations: 16.91 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.3511, allocations: 4 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.3511, allocations: 34.55 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3511, allocations: 0 / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003285/0.3515, allocations: 81.59 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.3515, allocations: 51.41 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.3516, allocations: 97.84 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3516, allocations: 25.7 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.3517, allocations: 84.14 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.3517, allocations: 7.891 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.3518, allocations: 13.84 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3519, allocations: 314.8 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.352, allocations: 19.97 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.3521, allocations: 11.98 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3522, allocations: 32.83 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3522, allocations: 8.062 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001852/0.3524, allocations: 61.78 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3525, allocations: 11.94 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3525, allocations: 0 / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3525, allocations: 3.984 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.3526, allocations: 7.984 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3526, allocations: 3.938 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.3526, allocations: 4 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3527, allocations: 8.031 kB / 1.223 GB, free: 10.85 MB / 0.9825 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 8.791e-05/0.3528, allocations: 109.8 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.3528, allocations: 7.922 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.576e-05/0.3528, allocations: 3.125 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3528, allocations: 0 / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3528, allocations: 0 / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3528, allocations: 7.938 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.353, allocations: 149.7 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.353, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.3531, allocations: 15.98 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3531, allocations: 3.938 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.3531, allocations: 0 / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3531, allocations: 0 / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3531, allocations: 0 / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.3533, allocations: 85.09 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.3534, allocations: 81.14 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.3534, allocations: 11.88 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-05/0.3534, allocations: 3.984 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.3535, allocations: 4 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.3535, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.731e-05/0.3535, allocations: 79.28 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3535, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000173/0.3537, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 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.0005798/0.3543, allocations: 0.6285 MB / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3545, allocations: 39.89 kB / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3545, allocations: 4.094 kB / 1.224 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/0.3546, allocations: 11.98 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.3548, allocations: 5.562 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.3552, allocations: 130.6 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.3555, allocations: 0.6768 MB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.3556, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.3556, allocations: 19.44 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.3556, allocations: 0 / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.3775, allocations: 1.218 MB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.493, allocations: 19.92 kB / 1.227 GB, free: 7.461 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches