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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 196.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.682/2.682, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 60.95 kB / 0.9082 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2547, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002785/0.2575, allocations: 1.524 MB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007127/0.2582, allocations: 444.5 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.2583, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.2583, allocations: 3.938 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.2584, allocations: 7.922 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.2586, allocations: 31.91 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.964e-05/0.2587, allocations: 39.86 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2588, allocations: 23.98 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2589, allocations: 27.84 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.259, allocations: 19.92 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.259, allocations: 4 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.259, allocations: 7.938 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.259, allocations: 8 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.2591, allocations: 19.86 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.936e-05/0.2592, allocations: 43.88 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2592, allocations: 4 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2592, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2592, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 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.0004895/0.2597, allocations: 363.5 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2597, allocations: 11.97 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.2598, allocations: 34.75 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.2598, allocations: 4.938 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2599, allocations: 168.3 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.26, allocations: 384 / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.26, allocations: 12.38 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.2602, allocations: 73.7 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.2602, allocations: 0 / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2602, allocations: 4 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2602, allocations: 0 / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.2604, allocations: 39.97 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.2608, allocations: 300.7 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.2612, allocations: 66.47 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.2613, allocations: 24.91 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.2613, allocations: 0 / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.2614, allocations: 34.56 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2614, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003999/0.2618, allocations: 93.5 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.2618, allocations: 51.41 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.2619, allocations: 121.8 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.2619, allocations: 29.64 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.262, allocations: 92.14 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.262, allocations: 7.906 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.2621, allocations: 17.7 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2622, allocations: 318.8 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.565e-05/0.2623, allocations: 11.98 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.233e-05/0.2624, allocations: 19.98 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.2626, allocations: 44.83 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2626, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002245/0.2628, allocations: 73.52 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2629, allocations: 7.984 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2629, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2629, allocations: 8.266 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.263, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.263, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/0.263, allocations: 11.98 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.2631, allocations: 3.938 kB / 1.068 GB, free: 10.09 MB / 0.8262 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 7.192e-05/0.2631, allocations: 111.6 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.2632, allocations: 15.89 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.2632, allocations: 11.89 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2632, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2632, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2632, allocations: 4 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.2634, allocations: 169.6 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2634, allocations: 0 / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/0.2635, allocations: 15.98 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2635, allocations: 0 / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2635, allocations: 4 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2635, allocations: 0 / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2635, allocations: 0 / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.2638, allocations: 171.4 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.2639, allocations: 85.02 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2639, allocations: 0 / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.264, allocations: 7.984 kB / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.264, allocations: 0 / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.264, allocations: 4 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.699e-05/0.2641, allocations: 99.2 kB / 1.068 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2641, allocations: 0 / 1.068 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002264/0.2643, allocations: 11.94 kB / 1.068 GB, free: 9.301 MB / 0.8262 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.0005363/0.2649, allocations: 0.7018 MB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.2651, allocations: 39.91 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2651, allocations: 0 / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/0.2652, allocations: 23.98 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.2655, allocations: 8.766 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.2669, allocations: 1.337 MB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.2672, allocations: 0.6846 MB / 1.071 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.2672, allocations: 4 kB / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.2673, allocations: 15.42 kB / 1.071 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2673, allocations: 0 / 1.071 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.2841, allocations: 1.493 MB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.175/7.459, allocations: 13.2 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB (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 50 --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) 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) Reference file matches