Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_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_latest_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.008787/0.008788, allocations: 100.2 kB / 15.73 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.002179/0.002179, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.81/2.81, allocations: 469.4 MB / 0.7421 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.00148, allocations: 68.05 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3098, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002268/0.3121, allocations: 0.5881 MB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3133, allocations: 0.7902 MB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.3134, allocations: 0 / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.3135, allocations: 4 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.578e-05/0.3136, allocations: 3.938 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.437e-05/0.3136, allocations: 7.984 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.015e-05/0.3137, allocations: 15.98 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.509e-05/0.3138, allocations: 11.92 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.3139, allocations: 4 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.314, allocations: 11.92 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.314, allocations: 4 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.562e-06/0.314, allocations: 0 / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.314, allocations: 0 / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.3141, allocations: 11.94 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.779e-05/0.3142, allocations: 15.97 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3142, allocations: 0 / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3142, allocations: 0 / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3142, allocations: 0 / 1.221 GB, free: 13.15 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.0005177/0.3147, allocations: 327.5 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.3148, allocations: 16.02 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.487e-05/0.3149, allocations: 34.75 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.3149, allocations: 0.9375 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.3151, allocations: 172.3 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3151, allocations: 4.375 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.3151, allocations: 384 / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3153, allocations: 50.16 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3153, allocations: 3.938 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3153, allocations: 3.938 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3153, allocations: 0 / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.3155, allocations: 31.97 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.3157, allocations: 153.7 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.3158, allocations: 26.59 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.633e-05/0.3159, allocations: 24.89 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.3159, allocations: 4 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.3159, allocations: 38.5 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3159, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003422/0.3163, allocations: 73.59 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3163, allocations: 51.41 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.695e-05/0.3164, allocations: 101.8 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.3164, allocations: 25.7 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.3165, allocations: 84.27 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.3165, allocations: 11.94 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.3165, allocations: 13.72 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3166, allocations: 314.8 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/0.3167, allocations: 11.98 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.3168, allocations: 15.98 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.317, allocations: 40.83 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.317, allocations: 4 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001768/0.3172, allocations: 53.66 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3172, allocations: 11.94 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3172, allocations: 0 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3172, allocations: 0 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.046e-05/0.3173, allocations: 7.984 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3173, allocations: 4.031 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.3174, allocations: 12 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.3174, allocations: 0 / 1.223 GB, free: 11.22 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 7.796e-05/0.3175, allocations: 115.2 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.3175, allocations: 3.938 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.3175, allocations: 3.125 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3175, allocations: 0 / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3175, allocations: 0 / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3175, allocations: 11.94 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.3176, allocations: 149.7 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3176, allocations: 3.938 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/0.3177, allocations: 15.92 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3177, allocations: 3.938 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3177, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3177, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3177, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.318, allocations: 85.09 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.318, allocations: 77.11 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.318, allocations: 7.938 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.362e-05/0.3181, allocations: 3.984 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3181, allocations: 8 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.3181, allocations: 0 / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.3182, allocations: 79.47 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3182, allocations: 4.031 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001808/0.3184, allocations: 0 / 1.223 GB, free: 10.57 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.000573/0.319, allocations: 0.6318 MB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.3192, allocations: 36 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3192, allocations: 0 / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.393e-05/0.3193, allocations: 15.92 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.3196, allocations: 4 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.3199, allocations: 127 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.3202, allocations: 0.6809 MB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.3202, allocations: 0 / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.3203, allocations: 7.438 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3203, allocations: 0 / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.3376, allocations: 1.239 MB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.246/7.583, allocations: 4.062 kB / 1.226 GB, free: 7.844 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches