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.00187/0.00187, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002455/0.002455, allocations: 211.6 kB / 22.24 MB, free: 5.258 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.532/1.532, 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 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.731/2.731, allocations: 476 MB / 0.7699 GB, free: 4.742 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.002118/0.002118, allocations: 66.73 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3191, allocations: 169.9 MB / 1.283 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003015/0.3221, allocations: 1.55 MB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009063/0.3231, allocations: 476.5 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.3231, allocations: 0 / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.3231, allocations: 3.938 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.3232, allocations: 7.938 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.3235, allocations: 39.91 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.3236, allocations: 51.83 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3237, allocations: 8 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.3239, allocations: 23.92 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.3239, allocations: 31.83 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.3239, allocations: 4 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.412e-05/0.324, allocations: 4 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.324, allocations: 11.94 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.324, allocations: 19.92 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.3241, allocations: 51.27 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3241, allocations: 4 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3241, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.3242, allocations: 0 / 1.285 GB, free: 10.21 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.0005403/0.3247, allocations: 294.1 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3247, allocations: 8.031 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.3248, allocations: 34.75 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.3249, allocations: 20.88 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.3251, allocations: 114.5 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.3251, allocations: 4.375 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.3252, allocations: 8.375 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.3254, allocations: 69.73 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3254, allocations: 0 / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3254, allocations: 0 / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3254, allocations: 7.922 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.3256, allocations: 39.97 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.326, allocations: 267.8 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.3264, allocations: 66.55 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.663e-05/0.3265, allocations: 20.84 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.3265, allocations: 0 / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3265, allocations: 34.56 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.3265, allocations: 0 / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003873/0.3269, allocations: 89.52 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.327, allocations: 51.41 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.3271, allocations: 131.7 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3271, allocations: 25.7 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.3272, allocations: 96.08 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.3272, allocations: 7.953 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.3273, allocations: 13.72 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3275, allocations: 322.8 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.091e-05/0.3276, allocations: 15.98 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.23e-05/0.3276, allocations: 15.98 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.3278, allocations: 44.83 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3278, allocations: 0 / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002229/0.3281, allocations: 73.56 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3281, allocations: 8 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3281, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3281, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.3282, allocations: 7.984 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3282, allocations: 4 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.3282, allocations: 8 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.3282, allocations: 11.92 kB / 1.287 GB, free: 8.141 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 0.0001043/0.3284, allocations: 105.8 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.3284, allocations: 11.95 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.3284, allocations: 8 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3284, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3284, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3284, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.3286, allocations: 144.7 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3286, allocations: 0 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/0.3287, allocations: 11.98 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3287, allocations: 0 / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.3287, allocations: 4 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3287, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3287, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.329, allocations: 179.7 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.329, allocations: 15.89 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.329, allocations: 0 / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.3291, allocations: 7.938 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.3292, allocations: 3.984 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.3292, allocations: 8 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.906e-05/0.3293, allocations: 103.2 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3293, allocations: 0 / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002202/0.3295, allocations: 4 kB / 1.287 GB, free: 7.473 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.0006283/0.3301, allocations: 0.6968 MB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.3303, allocations: 39.97 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3303, allocations: 4 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.286e-05/0.3304, allocations: 19.98 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.3307, allocations: 2.344 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.3324, allocations: 1.366 MB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.86e-05/0.3325, allocations: 67.59 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.993e-05/0.3325, allocations: 11.98 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.3326, allocations: 11.44 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3326, allocations: 0 / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.3612, allocations: 2.066 MB / 1.291 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.71, allocations: 9.844 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.534439007751644]