Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",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.00146/0.00146, 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.00125/0.001249, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 65.61 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3096, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001946/0.3115, allocations: 0.5862 MB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 3.63e-05/0.3116, allocations: 3.938 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.3116, allocations: 0 / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.3117, allocations: 0 / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.557e-05/0.3117, allocations: 0 / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.279e-05/0.3118, allocations: 0 / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.3118, allocations: 0 / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.3119, allocations: 15.98 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.437e-05/0.3119, allocations: 0 / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.784e-05/0.3119, allocations: 0 / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.3119, allocations: 0 / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.529e-06/0.3119, allocations: 0 / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.312, allocations: 0 / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.312, allocations: 7.938 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.975e-05/0.312, allocations: 3.984 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3121, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3121, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3121, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 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.0002585/0.3123, allocations: 319.6 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3124, allocations: 11.97 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.805e-05/0.3124, allocations: 30.75 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.3124, allocations: 4.938 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.3125, allocations: 164.3 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.3126, allocations: 384 / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.3126, allocations: 384 / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.248e-05/0.3126, allocations: 26.27 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3127, allocations: 11.94 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.3127, allocations: 0 / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3127, allocations: 3.984 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.387e-05/0.3127, allocations: 0 / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.313, allocations: 379.5 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.633e-05/0.3131, allocations: 173.1 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.3131, allocations: 92.17 kB / 1.065 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3131, allocations: 79.27 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.3132, allocations: 109.9 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3132, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.673e-05/0.3132, allocations: 29.64 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.3133, allocations: 126.7 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.3134, allocations: 101.9 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.3134, allocations: 25.7 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.3134, allocations: 80.14 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-06/0.3134, allocations: 0 / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.3135, allocations: 17.64 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.928e-05/0.3136, allocations: 314.8 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-06/0.3136, allocations: 0 / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-06/0.3136, allocations: 0 / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.402e-05/0.3136, allocations: 79.41 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/0.3136, allocations: 79.22 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.424e-05/0.3137, allocations: 33.64 kB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.3137, allocations: 79.28 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.3138, allocations: 75.28 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.255e-05/0.3138, allocations: 158.5 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.338e-05/0.3138, allocations: 88.94 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.34e-05/0.3139, allocations: 154.6 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.314, allocations: 79.22 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.314, allocations: 75.28 kB / 1.067 GB, free: 10.71 MB / 0.8262 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 (0): * Single equations (assignments): 0 * 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 9.216e-05/0.3141, allocations: 264.3 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.3141, allocations: 112.8 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.3142, allocations: 112.1 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-05/0.3142, allocations: 180.3 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.222e-05/0.3143, allocations: 180.2 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.206e-05/0.3144, allocations: 176.3 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.3146, allocations: 417.1 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.03e-05/0.3146, allocations: 101 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.3147, allocations: 108.9 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.252e-05/0.3147, allocations: 180.2 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/0.3148, allocations: 180.3 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.031e-05/0.3148, allocations: 184.5 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.144e-05/0.3149, allocations: 180.3 kB / 1.069 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.315, allocations: 311.7 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.3151, allocations: 182.1 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.3151, allocations: 188.2 kB / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.3152, allocations: 101 kB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.3153, allocations: 180.3 kB / 1.07 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.3153, allocations: 104.9 kB / 1.07 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.3153, allocations: 83.27 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3153, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000238/0.3156, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 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 (0): * Single equations (assignments): 0 * 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.0003528/0.3159, allocations: 0.8093 MB / 1.071 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.119e-05/0.316, allocations: 7.938 kB / 1.071 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.316, allocations: 0 / 1.071 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.316, allocations: 0 / 1.071 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.3163, allocations: 463.7 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009221/0.3172, allocations: 1.529 MB / 1.073 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.3174, allocations: 0.669 MB / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.875e-06/0.3175, allocations: 0 / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.3175, allocations: 7.438 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3175, allocations: 0 / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.3339, allocations: 0.9112 MB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.375, allocations: 6.438 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches