Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality",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.001296/0.001296, allocations: 108 kB / 15.6 MB, free: 132 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.001328/0.001328, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.487/2.487, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.91 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.5259, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002419/0.5283, allocations: 1.52 MB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006082/0.5289, allocations: 442.9 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.529, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.529, allocations: 7.922 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.5291, allocations: 7.922 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.5293, allocations: 23.92 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.5293, allocations: 47.78 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.786e-05/0.5295, allocations: 23.91 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.5296, allocations: 27.91 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.261e-05/0.5296, allocations: 23.92 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.5296, allocations: 4 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.5296, allocations: 7.938 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.5297, allocations: 7.984 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.5297, allocations: 15.88 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.696e-05/0.5298, allocations: 35.88 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5298, allocations: 8 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of FrontEnd: time 4.388e-06/0.5298, allocations: 3.984 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.5298, allocations: 4 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000448/0.5303, allocations: 357.7 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.5303, allocations: 11.97 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.119e-05/0.5303, allocations: 38.75 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.5304, allocations: 4.844 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.5305, allocations: 180.2 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.5305, allocations: 8.375 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.5305, allocations: 384 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.5307, allocations: 69.8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.5307, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.5308, allocations: 4 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.5308, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.531, allocations: 39.97 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.5314, allocations: 304.6 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.5317, allocations: 62.48 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/0.5318, allocations: 24.91 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.5318, allocations: 3.984 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.5318, allocations: 34.56 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.5318, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003517/0.5322, allocations: 93.58 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.5322, allocations: 51.41 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.945e-05/0.5323, allocations: 121.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.5323, allocations: 25.7 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.5324, allocations: 96.12 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.5324, allocations: 15.75 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.5325, allocations: 13.72 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.5325, allocations: 322.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.983e-05/0.5326, allocations: 15.98 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/0.5327, allocations: 15.98 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.5329, allocations: 44.78 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5329, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000208/0.5331, allocations: 69.66 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.5331, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5332, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.5332, allocations: 3.938 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.5333, allocations: 7.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5333, allocations: 4 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.5333, allocations: 7.906 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.5333, allocations: 7.938 kB / 1.022 GB, free: 13.98 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 (3): * Single equations (assignments): 3 * 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.56e-05/0.5334, allocations: 109.8 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.5335, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.5335, allocations: 7.906 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5335, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5335, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5335, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.5337, allocations: 177.5 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5337, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.5338, allocations: 8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5338, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.5338, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5338, allocations: 3.984 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5338, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.534, allocations: 171.4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.5341, allocations: 85.02 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.5341, allocations: 7.984 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.5342, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.5342, allocations: 7.938 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.5342, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.5343, allocations: 99.2 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5343, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002204/0.5345, allocations: 4 kB / 1.022 GB, free: 13.2 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 (3): * Single equations (assignments): 3 * 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.0004694/0.535, allocations: 0.7011 MB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.5352, allocations: 39.95 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5352, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/0.5353, allocations: 27.92 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.5356, allocations: 7.594 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.537, allocations: 1.344 MB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.5372, allocations: 0.6885 MB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.5372, allocations: 3.984 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.5373, allocations: 15.44 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5373, allocations: 0 / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.5531, allocations: 1.482 MB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/7.391, allocations: 9.672 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_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_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches