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.001157/0.001157, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001203/0.001203, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.173/1.173, allocations: 222.9 MB / 239.9 MB, free: 4.438 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.259/2.259, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 0.8688 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.481, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002344/0.4834, allocations: 1.585 MB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005909/0.484, allocations: 450.9 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.4841, allocations: 0 / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.4841, allocations: 3.984 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.177e-05/0.4842, allocations: 3.938 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.4844, allocations: 27.91 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.84e-05/0.4844, allocations: 39.86 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.4845, allocations: 23.97 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.4846, allocations: 15.94 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.206e-05/0.4847, allocations: 23.91 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.4847, allocations: 4 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.4847, allocations: 4 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.4847, allocations: 15.92 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.4848, allocations: 19.86 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.395e-05/0.4849, allocations: 39.89 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4849, allocations: 4 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4849, allocations: 3.938 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.4849, allocations: 0 / 1.019 GB, free: 404 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.0004142/0.4853, allocations: 357.7 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4854, allocations: 8.078 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.4854, allocations: 34.69 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.4854, allocations: 8.844 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.988e-05/0.4855, allocations: 176.2 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.4855, allocations: 4.375 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.4856, allocations: 8.375 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.4857, allocations: 73.77 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.4858, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4858, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4858, allocations: 3.938 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.486, allocations: 39.97 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.4863, allocations: 292.7 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.4866, allocations: 62.48 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.4867, allocations: 24.91 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.4867, allocations: 7.984 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.4868, allocations: 34.5 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4868, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000324/0.4871, allocations: 85.66 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.4871, allocations: 51.41 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.4872, allocations: 117.8 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.4872, allocations: 29.69 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.4873, allocations: 99.98 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.4873, allocations: 11.84 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.4873, allocations: 13.72 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.4874, allocations: 322.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.4875, allocations: 15.98 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.035e-05/0.4876, allocations: 15.98 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.4877, allocations: 44.83 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4877, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001929/0.4879, allocations: 69.58 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.488, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.488, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.488, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.289e-05/0.4881, allocations: 11.92 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4881, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.17e-05/0.4881, allocations: 15.92 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.4881, allocations: 7.938 kB / 1.021 GB, free: 14.14 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 5.875e-05/0.4882, allocations: 110.4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.4882, allocations: 4.328 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.4883, allocations: 3.906 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4883, allocations: 3.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4883, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.4883, allocations: 4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.4884, allocations: 177.6 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4884, allocations: 4 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/0.4885, allocations: 11.98 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4885, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.4885, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.4885, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4885, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.4888, allocations: 179.3 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.4888, allocations: 81.02 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.4888, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.4889, allocations: 8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.4889, allocations: 7.984 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.489, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.489, allocations: 95.64 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.489, allocations: 3.938 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002008/0.4892, allocations: 8 kB / 1.022 GB, free: 13.36 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.0004139/0.4896, allocations: 0.6969 MB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.4898, allocations: 39.91 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4898, allocations: 0 / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.4899, allocations: 27.98 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.4902, allocations: 4 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.4914, allocations: 1.363 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.4916, allocations: 0.6885 MB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.991e-05/0.4916, allocations: 4 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.4917, allocations: 15.77 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.4917, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.729/2.221, allocations: 1.378 MB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/2.221, allocations: 208.8 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.13/5.352, allocations: 4 kB / 1.026 GB, free: 8.867 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