Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001815/0.001815, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002232/0.002232, allocations: 217.8 kB / 22.25 MB, free: 5.102 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.253/3.253, allocations: 0.49 GB / 0.7951 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_12_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.002156/0.002156, allocations: 65.88 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3977, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003811/0.4015, allocations: 1.549 MB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.4026, allocations: 474.8 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.4026, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.4026, allocations: 7.875 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-05/0.4027, allocations: 15.86 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.403, allocations: 35.89 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.4031, allocations: 47.8 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.4033, allocations: 16.17 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.4034, allocations: 31.91 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.688e-05/0.4035, allocations: 19.92 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.4035, allocations: 8 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.325e-05/0.4035, allocations: 4 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.4035, allocations: 15.92 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.4036, allocations: 23.86 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.4037, allocations: 39.83 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4037, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4037, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.4037, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 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.0006053/0.4043, allocations: 294.1 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.4044, allocations: 15.97 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.516e-05/0.4044, allocations: 38.69 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.4046, allocations: 20.88 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.4048, allocations: 118.5 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.4048, allocations: 4.375 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.4048, allocations: 4.375 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.405, allocations: 65.8 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.405, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4051, allocations: 3.984 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4051, allocations: 4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.4054, allocations: 47.89 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.4059, allocations: 263.8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.4062, allocations: 62.59 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.275e-05/0.4063, allocations: 24.78 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.4063, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.4064, allocations: 38.56 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4064, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0003638/0.4067, allocations: 81.61 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4068, allocations: 51.41 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.407, allocations: 137.9 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.407, allocations: 25.7 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.4071, allocations: 84.14 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.4071, allocations: 19.88 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.4072, allocations: 13.72 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002596/0.4074, allocations: 322.8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.609e-05/0.4075, allocations: 15.92 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.4076, allocations: 19.98 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.4077, allocations: 40.83 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4077, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002123/0.408, allocations: 73.61 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.408, allocations: 14.19 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.408, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.408, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.4081, allocations: 4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.4081, allocations: 11.92 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.4081, allocations: 0 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.4081, allocations: 11.88 kB / 1.33 GB, free: 13.16 MB / 1.029 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 8.853e-05/0.4082, allocations: 108.8 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.4083, allocations: 11.95 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.4083, allocations: 11.98 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4083, allocations: 4 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4083, allocations: 4 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4083, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.4085, allocations: 144.7 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4085, allocations: 4 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.916e-05/0.4086, allocations: 7.984 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4086, allocations: 0 / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.4086, allocations: 4 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4086, allocations: 0 / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4086, allocations: 0 / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.4089, allocations: 187.7 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.4089, allocations: 0 / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.4089, allocations: 0 / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.409, allocations: 7.984 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.409, allocations: 0 / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.409, allocations: 4 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.157e-05/0.4091, allocations: 103.2 kB / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4091, allocations: 0 / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002316/0.4093, allocations: 4 kB / 1.33 GB, free: 12.49 MB / 1.029 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.0006077/0.41, allocations: 0.6968 MB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.4102, allocations: 39.91 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4102, allocations: 4 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.098e-05/0.4103, allocations: 27.91 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.4105, allocations: 1.719 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.4124, allocations: 1.361 MB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.28e-05/0.4124, allocations: 71.19 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.4125, allocations: 4 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.4125, allocations: 15.42 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.4125, allocations: 4 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/0.4476, allocations: 2.089 MB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.6, allocations: 11.67 kB / 1.335 GB, free: 8.184 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv. Warning: Get data of variable cheEqu.u1 from file Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv failed! Error: Could not read variable cheEqu.u2 in file Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv. Warning: Get data of variable cheEqu.u2 from file Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.61306130400044]