Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_9_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.0009723/0.0009726, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005352/0.005352, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.239/1.239, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.162/2.162, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003667, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5816, allocations: 142.4 MB / 0.9552 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001422/0.583, allocations: 1.24 MB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005455/0.5836, allocations: 428.1 kB / 0.9568 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.5837, allocations: 1.406 kB / 0.9568 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.5837, allocations: 3.984 kB / 0.9568 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.5837, allocations: 11.86 kB / 0.9568 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.5839, allocations: 25.17 kB / 0.9568 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.584, allocations: 37.64 kB / 0.9569 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.827e-05/0.5841, allocations: 22.58 kB / 0.9569 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.836e-05/0.5842, allocations: 19.34 kB / 0.9569 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.5842, allocations: 17.45 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.5842, allocations: 1.188 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.5842, allocations: 5.281 kB / 0.9569 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.5843, allocations: 10.17 kB / 0.9569 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.5843, allocations: 37.61 kB / 0.957 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.362e-05/0.5844, allocations: 40.27 kB / 0.957 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5844, allocations: 0 / 0.957 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5844, allocations: 0.9688 kB / 0.957 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.5844, allocations: 0 / 0.957 GB, free: 6.152 MB / 0.7169 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.0003475/0.5847, allocations: 365.9 kB / 0.9574 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.5848, allocations: 8.5 kB / 0.9574 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.578e-05/0.5848, allocations: 40.81 kB / 0.9574 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.143e-05/0.5848, allocations: 3.031 kB / 0.9574 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.723e-05/0.5849, allocations: 176.1 kB / 0.9576 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.5849, allocations: 1.469 kB / 0.9576 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.585, allocations: 7.656 kB / 0.9576 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.5851, allocations: 66.7 kB / 0.9576 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.5851, allocations: 4 kB / 0.9576 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.5852, allocations: 1 kB / 0.9576 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5852, allocations: 1.094 kB / 0.9576 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.5854, allocations: 50.59 kB / 0.9577 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.5857, allocations: 304.1 kB / 0.958 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.586, allocations: 67.7 kB / 0.9581 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.143e-05/0.5861, allocations: 31.22 kB / 0.9581 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.5861, allocations: 3.938 kB / 0.9581 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.5862, allocations: 31.62 kB / 0.9581 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5862, allocations: 3.938 kB / 0.9581 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003324/0.5865, allocations: 110.9 kB / 0.9582 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.5865, allocations: 52.72 kB / 0.9583 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.712e-05/0.5866, allocations: 119.9 kB / 0.9584 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.5866, allocations: 25.7 kB / 0.9584 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.183e-05/0.5866, allocations: 88.12 kB / 0.9585 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.5866, allocations: 12.97 kB / 0.9585 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/0.5867, allocations: 18.94 kB / 0.9585 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.583e-05/0.5867, allocations: 316.6 kB / 0.9588 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.5868, allocations: 21.14 kB / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.5869, allocations: 25.64 kB / 0.9589 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.587, allocations: 51.27 kB / 0.9589 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5871, allocations: 0 / 0.9589 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001924/0.5873, allocations: 79.03 kB / 0.959 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.5873, allocations: 5.469 kB / 0.959 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.5873, allocations: 5.031 kB / 0.959 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.5873, allocations: 4 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.5874, allocations: 8.938 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.5874, allocations: 3.984 kB / 0.959 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.5874, allocations: 9.719 kB / 0.959 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.5875, allocations: 5 kB / 0.959 GB, free: 4.184 MB / 0.7169 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 4.262e-05/0.5875, allocations: 112.2 kB / 0.9591 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.5875, allocations: 10.72 kB / 0.9592 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.5876, allocations: 12.98 kB / 0.9592 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.5876, allocations: 1.562 kB / 0.9592 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.5876, allocations: 0 / 0.9592 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.5876, allocations: 0 / 0.9592 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.5877, allocations: 171.1 kB / 0.9593 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5877, allocations: 1.25 kB / 0.9593 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.5878, allocations: 12.61 kB / 0.9593 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.5878, allocations: 0 / 0.9593 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-06/0.5878, allocations: 5.438 kB / 0.9594 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5878, allocations: 0 / 0.9594 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5878, allocations: 3.938 kB / 0.9594 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.588, allocations: 176.9 kB / 0.9595 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.588, allocations: 87.7 kB / 0.9596 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.5881, allocations: 3.938 kB / 0.9596 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.5881, allocations: 8.859 kB / 0.9596 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.5882, allocations: 1.156 kB / 0.9596 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.5882, allocations: 1.375 kB / 0.9596 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.363e-05/0.5882, allocations: 97.58 kB / 0.9597 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5882, allocations: 0 / 0.9597 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002042/0.5884, allocations: 10.97 kB / 0.9597 GB, free: 3.469 MB / 0.7169 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.0003299/0.5888, allocations: 0.7025 MB / 0.9604 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.589, allocations: 53.56 kB / 0.9605 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.589, allocations: 0 / 0.9605 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.653e-05/0.5891, allocations: 24.61 kB / 0.9605 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.5893, allocations: 17.47 kB / 0.9605 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.5904, allocations: 1.38 MB / 0.9619 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.723e-05/0.5905, allocations: 0.691 MB / 0.9625 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.87e-05/0.5906, allocations: 1.625 kB / 0.9625 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.5906, allocations: 16.8 kB / 0.9625 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.5906, allocations: 5.312 kB / 0.9625 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009882/0.6005, allocations: 1.266 MB / 0.9638 GB, free: 144 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.6007, allocations: 208.7 kB / 0.964 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.159, allocations: 7.938 kB / 0.964 GB, free: 15.88 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches