Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Constant,fileNamePrefix="Buildings_10_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_10_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.001249/0.001249, allocations: 108 kB / 15.61 MB, free: 148 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.001367/0.001367, allocations: 194.1 kB / 16.53 MB, free: 6.691 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.511/2.511, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 71.89 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.5562, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001783/0.558, allocations: 0.5744 MB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.962e-05/0.5581, allocations: 3.938 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.5581, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.5582, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.23e-05/0.5582, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.042e-05/0.5582, allocations: 4 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.239e-05/0.5583, allocations: 4 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.5583, allocations: 0 / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.299e-05/0.5584, allocations: 0 / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.683e-05/0.5584, allocations: 3.984 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.5584, allocations: 4 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.45e-06/0.5584, allocations: 4 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.5584, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.5584, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.706e-05/0.5585, allocations: 7.938 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5585, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5585, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.5585, allocations: 0 / 1.018 GB, free: 1.879 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.0002509/0.5588, allocations: 315.5 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.5588, allocations: 12.03 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.833e-05/0.5589, allocations: 34.69 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.731e-05/0.5589, allocations: 4.938 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/0.559, allocations: 160.4 kB / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.559, allocations: 12.28 kB / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-06/0.559, allocations: 384 / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.144e-05/0.5591, allocations: 34.27 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5591, allocations: 3.938 kB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.5591, allocations: 0 / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.5591, allocations: 0 / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.352e-05/0.5591, allocations: 0 / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.5594, allocations: 391.5 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.772e-05/0.5595, allocations: 169.1 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.5595, allocations: 84.17 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.5595, allocations: 75.28 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.5596, allocations: 109.8 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.5596, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 6.894e-05/0.5597, allocations: 29.64 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.5597, allocations: 126.7 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.5598, allocations: 101.8 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.5598, allocations: 25.7 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.5598, allocations: 84.27 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.5599, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.5599, allocations: 13.72 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.56, allocations: 310.8 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-06/0.56, allocations: 3.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-06/0.56, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/0.56, allocations: 79.28 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.219e-05/0.56, allocations: 79.22 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.188e-05/0.5601, allocations: 33.64 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.5601, allocations: 83.28 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.5602, allocations: 79.27 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.732e-05/0.5602, allocations: 154.6 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.191e-05/0.5602, allocations: 83.25 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.989e-05/0.5603, allocations: 150.6 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.5604, allocations: 79.22 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.5604, allocations: 83.28 kB / 1.021 GB, free: 14.69 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 (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 8.868e-05/0.5605, allocations: 264.3 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.5605, allocations: 108.9 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.5606, allocations: 108.1 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/0.5606, allocations: 176.3 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.008e-05/0.5607, allocations: 184.2 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.604e-05/0.5607, allocations: 180.3 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.5609, allocations: 409.1 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/0.561, allocations: 101 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.561, allocations: 101 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.915e-05/0.561, allocations: 192.1 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/0.5611, allocations: 184.3 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.657e-05/0.5611, allocations: 180.2 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.62e-05/0.5612, allocations: 176.3 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.5613, allocations: 315.7 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.5614, allocations: 182.5 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.5614, allocations: 184.2 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.27e-05/0.5615, allocations: 101 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.5616, allocations: 184.3 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.5616, allocations: 112.9 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.5616, allocations: 83.28 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5617, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002505/0.5619, allocations: 0 / 1.024 GB, free: 11.02 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 (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.0003719/0.5623, allocations: 0.8087 MB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.507e-05/0.5623, allocations: 8.031 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5623, allocations: 3.938 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.5623, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.5627, allocations: 457.1 kB / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008698/0.5635, allocations: 1.536 MB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.5637, allocations: 0.6769 MB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.971e-06/0.5637, allocations: 0 / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.5638, allocations: 7.438 kB / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.5638, allocations: 0 / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.5781, allocations: 0.8895 MB / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.855/7.433, allocations: 21.91 kB / 1.029 GB, free: 6.574 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches