Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 103.6 kB / 18.95 MB, free: 2.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 216.8 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.495/3.495, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 67.73 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3807, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003464/0.3842, allocations: 1.553 MB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3853, allocations: 479.8 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.3854, allocations: 4 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.3854, allocations: 3.938 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.726e-05/0.3854, allocations: 3.938 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.3857, allocations: 39.89 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.3858, allocations: 47.84 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.386, allocations: 11.94 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.3861, allocations: 31.91 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.522e-05/0.3862, allocations: 19.91 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3862, allocations: 4 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.715e-05/0.3862, allocations: 12 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.3862, allocations: 7.938 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.3863, allocations: 15.92 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.3864, allocations: 55.97 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3864, allocations: 4 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3864, allocations: 4 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.3864, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 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.0005729/0.387, allocations: 290.1 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.387, allocations: 12.03 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.3871, allocations: 30.75 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.3872, allocations: 12.92 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.3875, allocations: 122.5 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.3875, allocations: 384 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.3875, allocations: 8.375 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.3878, allocations: 73.67 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.3878, allocations: 0 / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3878, allocations: 4 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3878, allocations: 0 / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.388, allocations: 39.97 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004875/0.3885, allocations: 267.8 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.3888, allocations: 66.48 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.874e-05/0.3889, allocations: 28.84 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.3889, allocations: 0 / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.389, allocations: 34.56 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.389, allocations: 0 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.00041/0.3894, allocations: 93.53 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3894, allocations: 55.41 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3896, allocations: 120.1 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3896, allocations: 25.7 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.3896, allocations: 96.12 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.3897, allocations: 7.906 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.3897, allocations: 17.72 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3899, allocations: 322.8 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.001e-05/0.39, allocations: 15.98 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.733e-05/0.3901, allocations: 15.98 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.3902, allocations: 44.83 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3902, allocations: 0 / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002226/0.3904, allocations: 69.61 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3905, allocations: 4 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3905, allocations: 0 / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3905, allocations: 0 / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.3906, allocations: 11.98 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3906, allocations: 0 / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.3906, allocations: 15.95 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.3907, allocations: 11.92 kB / 1.367 GB, free: 9.758 MB / 1.061 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 9.57e-05/0.3907, allocations: 109.8 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.3908, allocations: 4 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.3908, allocations: 8 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3908, allocations: 0 / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3908, allocations: 0 / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3908, allocations: 0 / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.3911, allocations: 148.6 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3911, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.042e-05/0.3911, allocations: 15.98 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3911, allocations: 0 / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3912, allocations: 0 / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3912, allocations: 3.938 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3912, allocations: 3.938 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.3915, allocations: 167.7 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.3915, allocations: 19.88 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3915, allocations: 0 / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.3916, allocations: 4 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.3916, allocations: 12.02 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.3916, allocations: 0 / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.211e-05/0.3917, allocations: 99.2 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3917, allocations: 0 / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002272/0.3919, allocations: 12 kB / 1.368 GB, free: 9.082 MB / 1.061 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.0006274/0.3925, allocations: 0.6929 MB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.3928, allocations: 39.97 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3928, allocations: 4 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.997e-05/0.3929, allocations: 19.98 kB / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.3931, allocations: 0 / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.3949, allocations: 1.352 MB / 1.37 GB, free: 6.871 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.238e-05/0.395, allocations: 71.25 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.846e-05/0.395, allocations: 7.984 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.3951, allocations: 19.44 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.3951, allocations: 0 / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.4248, allocations: 2.068 MB / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.71, allocations: 10.14 kB / 1.372 GB, free: 4.82 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable cheEqu.u1 in file Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv. Warning: Get data of variable cheEqu.u1 from file Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv failed! Error: Could not read variable cheEqu.u2 in file Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv. Warning: Get data of variable cheEqu.u2 from file Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.868416343349963]