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.001653/0.001653, allocations: 103 kB / 16.45 MB, free: 6.449 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.001872/0.001872, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.611/1.611, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.354/3.354, allocations: 0.505 GB / 0.8066 GB, free: 23.13 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.002106/0.002106, allocations: 73.48 kB / 1.172 GB, free: 17.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3684, allocations: 180.2 MB / 1.348 GB, free: 10.16 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003025/0.3714, allocations: 1.562 MB / 1.349 GB, free: 8.594 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009725/0.3724, allocations: 0.5026 MB / 1.35 GB, free: 8.086 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.3725, allocations: 4 kB / 1.35 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.64e-05/0.3725, allocations: 7.922 kB / 1.35 GB, free: 8.074 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.3726, allocations: 11.81 kB / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.3728, allocations: 31.89 kB / 1.35 GB, free: 8.031 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.373, allocations: 39.92 kB / 1.35 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3731, allocations: 15.98 kB / 1.35 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.3733, allocations: 31.84 kB / 1.35 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.3733, allocations: 27.86 kB / 1.35 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.3733, allocations: 4 kB / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.071e-05/0.3734, allocations: 8 kB / 1.35 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.3734, allocations: 11.98 kB / 1.35 GB, free: 7.895 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.3734, allocations: 19.88 kB / 1.35 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.3736, allocations: 52.02 kB / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3736, allocations: 0 / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3736, allocations: 0 / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3736, allocations: 0 / 1.35 GB, free: 7.824 MB / 1.045 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.0005838/0.3741, allocations: 371.2 kB / 1.35 GB, free: 7.414 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3742, allocations: 11.98 kB / 1.35 GB, free: 7.402 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/0.3742, allocations: 42.73 kB / 1.35 GB, free: 7.352 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.3744, allocations: 12.89 kB / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.3746, allocations: 180.2 kB / 1.351 GB, free: 7.125 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.3746, allocations: 4.375 kB / 1.351 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.3746, allocations: 4.375 kB / 1.351 GB, free: 7.117 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.3748, allocations: 65.78 kB / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3749, allocations: 8 kB / 1.351 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3749, allocations: 3.938 kB / 1.351 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3749, allocations: 0 / 1.351 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.3751, allocations: 43.97 kB / 1.351 GB, free: 6.992 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.3756, allocations: 292.7 kB / 1.351 GB, free: 6.656 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.3759, allocations: 66.53 kB / 1.351 GB, free: 6.582 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.376, allocations: 24.91 kB / 1.351 GB, free: 6.555 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.376, allocations: 0 / 1.351 GB, free: 6.555 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3761, allocations: 34.5 kB / 1.351 GB, free: 6.512 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3761, allocations: 3.938 kB / 1.351 GB, free: 6.508 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004165/0.3765, allocations: 93.61 kB / 1.351 GB, free: 6.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.3765, allocations: 55.39 kB / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3766, allocations: 118.1 kB / 1.351 GB, free: 6.215 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.3767, allocations: 25.7 kB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.3767, allocations: 96.12 kB / 1.351 GB, free: 6.086 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.3767, allocations: 3.953 kB / 1.351 GB, free: 6.082 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.3768, allocations: 17.72 kB / 1.351 GB, free: 6.059 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3769, allocations: 322.8 kB / 1.352 GB, free: 5.734 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3771, allocations: 19.98 kB / 1.352 GB, free: 5.715 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.782e-05/0.3772, allocations: 16.17 kB / 1.352 GB, free: 5.699 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.3773, allocations: 44.86 kB / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3773, allocations: 0 / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002297/0.3776, allocations: 73.61 kB / 1.352 GB, free: 5.574 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3776, allocations: 12 kB / 1.352 GB, free: 5.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3776, allocations: 0 / 1.352 GB, free: 5.562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3776, allocations: 0 / 1.352 GB, free: 5.562 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.373e-05/0.3777, allocations: 7.984 kB / 1.352 GB, free: 5.555 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3777, allocations: 4 kB / 1.352 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.3777, allocations: 0 / 1.352 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3778, allocations: 7.938 kB / 1.352 GB, free: 5.543 MB / 1.045 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.264e-05/0.3778, allocations: 109.8 kB / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.3779, allocations: 15.88 kB / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.3779, allocations: 11.91 kB / 1.352 GB, free: 5.391 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3779, allocations: 4 kB / 1.352 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3779, allocations: 0 / 1.352 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3779, allocations: 0 / 1.352 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.3781, allocations: 177.5 kB / 1.352 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3781, allocations: 0 / 1.352 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.3782, allocations: 8 kB / 1.352 GB, free: 5.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3782, allocations: 0 / 1.352 GB, free: 5.156 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.3782, allocations: 0 / 1.352 GB, free: 5.156 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3782, allocations: 4 kB / 1.352 GB, free: 5.152 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3782, allocations: 7.984 kB / 1.352 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.3785, allocations: 163.4 kB / 1.352 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.3786, allocations: 93 kB / 1.353 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3786, allocations: 3.984 kB / 1.353 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/0.3787, allocations: 4 kB / 1.353 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.3787, allocations: 0 / 1.353 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.3787, allocations: 7.938 kB / 1.353 GB, free: 4.844 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.153e-05/0.3788, allocations: 101.3 kB / 1.353 GB, free: 4.746 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3788, allocations: 0 / 1.353 GB, free: 4.746 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002275/0.379, allocations: 11.94 kB / 1.353 GB, free: 4.734 MB / 1.045 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.0006607/0.3797, allocations: 0.693 MB / 1.353 GB, free: 4.016 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.3799, allocations: 43.89 kB / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.38, allocations: 4 kB / 1.353 GB, free: 3.969 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.3801, allocations: 19.98 kB / 1.353 GB, free: 3.949 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.3803, allocations: 2.031 kB / 1.353 GB, free: 3.949 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.3822, allocations: 1.364 MB / 1.355 GB, free: 2.508 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.3826, allocations: 0.6844 MB / 1.355 GB, free: 1.797 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.3826, allocations: 7.984 kB / 1.355 GB, free: 1.789 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.3827, allocations: 19.42 kB / 1.355 GB, free: 1.77 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3827, allocations: 0 / 1.355 GB, free: 1.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.4085, allocations: 1.546 MB / 1.357 GB, free: 336 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.645, allocations: 5.141 kB / 1.357 GB, free: 332 kB / 1.045 GB " [Timeout remaining time 291] (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: 15.77662467607297]