Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001688/0.001688, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002526/0.002526, allocations: 217 kB / 22.25 MB, free: 5.082 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.816/2.816, allocations: 476.7 MB / 0.7707 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_11_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.002056/0.002056, allocations: 66.38 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2951, allocations: 170 MB / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002848/0.298, allocations: 1.564 MB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.2989, allocations: 0.512 MB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.2989, allocations: 0 / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.299, allocations: 7.938 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.299, allocations: 11.88 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.2993, allocations: 39.89 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.2994, allocations: 43.91 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2995, allocations: 11.94 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.2997, allocations: 31.84 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.2997, allocations: 23.92 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2997, allocations: 4 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.852e-05/0.2998, allocations: 11.98 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.2998, allocations: 11.94 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.2998, allocations: 23.86 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.2999, allocations: 47.39 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2999, allocations: 0 / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2999, allocations: 3.938 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2999, allocations: 0 / 1.286 GB, free: 9.453 MB / 0.9825 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.0005055/0.3004, allocations: 286.1 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3005, allocations: 12.02 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.3005, allocations: 38.75 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.3007, allocations: 20.88 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.3008, allocations: 118.4 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.3009, allocations: 4.375 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.3009, allocations: 4.359 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.3011, allocations: 65.8 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3011, allocations: 0 / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3011, allocations: 4 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3011, allocations: 4 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.3013, allocations: 43.95 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.3017, allocations: 267.7 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.302, allocations: 66.53 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.361e-05/0.3021, allocations: 24.91 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.3021, allocations: 0 / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.3021, allocations: 34.56 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.3021, allocations: 0 / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003732/0.3025, allocations: 89.58 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.3026, allocations: 59.34 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3027, allocations: 126.7 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3027, allocations: 25.7 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.3028, allocations: 92.09 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.3028, allocations: 3.953 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.3028, allocations: 21.7 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.303, allocations: 318.8 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.853e-05/0.3031, allocations: 19.98 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.883e-05/0.3031, allocations: 15.98 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.3033, allocations: 44.77 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3033, allocations: 0 / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002065/0.3035, allocations: 65.62 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3035, allocations: 11.98 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3035, allocations: 3.938 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3035, allocations: 4 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.445e-05/0.3036, allocations: 8 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3036, allocations: 4 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.3037, allocations: 3.984 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3037, allocations: 7.938 kB / 1.287 GB, free: 7.375 MB / 0.9825 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.245e-05/0.3038, allocations: 109.8 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.3038, allocations: 7.953 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.3038, allocations: 8 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3038, allocations: 11.98 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3038, allocations: 0 / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3038, allocations: 0 / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.304, allocations: 140.7 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.304, allocations: 4 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.3041, allocations: 11.92 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3041, allocations: 0 / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3041, allocations: 8 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3041, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3041, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3044, allocations: 175.4 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.3044, allocations: 4 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3044, allocations: 0 / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.3045, allocations: 7.984 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.3045, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3045, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.77e-05/0.3046, allocations: 104.6 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3046, allocations: 4 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002184/0.3048, allocations: 8 kB / 1.288 GB, free: 6.711 MB / 0.9825 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.0005467/0.3053, allocations: 0.701 MB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.3056, allocations: 44 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.3056, allocations: 0 / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.203e-05/0.3057, allocations: 23.92 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.3059, allocations: 7.984 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.3075, allocations: 1.366 MB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.3078, allocations: 0.6923 MB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.3079, allocations: 4 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.3079, allocations: 15.42 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3079, allocations: 0 / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.3361, allocations: 1.657 MB / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.86, allocations: 2.016 kB / 1.292 GB, free: 2.211 MB / 0.9825 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv. Warning: Get data of variable cheEqu.u1 from file Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv failed! Error: Could not read variable cheEqu.u2 in file Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv. Warning: Get data of variable cheEqu.u2 from file Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.621151274999647]