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.001132/0.001132, 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.001172/0.001172, allocations: 194.2 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.373/2.373, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.4971, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003324/0.5004, allocations: 1.518 MB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007304/0.5012, allocations: 446.9 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.5013, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.5013, allocations: 3.938 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.382e-05/0.5014, allocations: 11.88 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.5016, allocations: 23.95 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.88e-05/0.5017, allocations: 43.8 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.5019, allocations: 27.89 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.502, allocations: 19.94 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.826e-05/0.5021, allocations: 31.89 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.5021, allocations: 4 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.5021, allocations: 4 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.5021, allocations: 7.938 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.5022, allocations: 19.86 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.366e-05/0.5023, allocations: 35.89 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5023, allocations: 4 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5023, allocations: 4 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5023, allocations: 0 / 1.02 GB, free: 284 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.0005519/0.5028, allocations: 357.7 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5029, allocations: 12.02 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.5029, allocations: 38.75 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.503, allocations: 4.844 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.5031, allocations: 180.2 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.5031, allocations: 4.375 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.5032, allocations: 12.31 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.5034, allocations: 69.78 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.5034, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.5034, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.5034, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.5036, allocations: 39.97 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.5041, allocations: 296.7 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.5044, allocations: 62.53 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.204e-05/0.5045, allocations: 24.91 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.5045, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.5045, allocations: 38.5 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.5045, allocations: 4 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003538/0.5049, allocations: 81.84 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.5049, allocations: 51.41 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.505, allocations: 125.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.5051, allocations: 29.64 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.5051, allocations: 92.14 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.5051, allocations: 15.75 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.5052, allocations: 17.7 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.5053, allocations: 318.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.5054, allocations: 15.98 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.625e-05/0.5055, allocations: 19.97 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.5056, allocations: 48.77 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5056, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001996/0.5058, allocations: 65.67 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.5059, allocations: 8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.5059, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.5059, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.506, allocations: 7.984 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.506, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.506, allocations: 11.89 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.5061, allocations: 11.94 kB / 1.022 GB, free: 14.02 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 7.062e-05/0.5061, allocations: 113.8 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.5062, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.5062, allocations: 7.844 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5062, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5062, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5062, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.5064, allocations: 177.6 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5064, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.5065, allocations: 11.98 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5065, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.5065, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5065, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5065, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.5068, allocations: 171.4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.5068, allocations: 85.02 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.5068, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.5069, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.5069, allocations: 7.984 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.507, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.206e-05/0.507, allocations: 107.1 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.507, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002067/0.5072, allocations: 4 kB / 1.022 GB, free: 13.23 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.0004739/0.5077, allocations: 0.6989 MB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.5079, allocations: 43.84 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5079, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.508, allocations: 23.98 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.5083, allocations: 6.141 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.5098, allocations: 1.343 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.5101, allocations: 0.6924 MB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.5101, allocations: 3.938 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.5102, allocations: 23.36 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.5102, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3295/0.8396, allocations: 1.48 MB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/8.156, allocations: 7.953 kB / 1.026 GB, free: 8.859 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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