Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_10_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.00662/0.00662, allocations: 97.59 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 196.1 kB / 16.67 MB, free: 5.926 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.479/2.479, allocations: 437.1 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 1.018 GB, free: 9.961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7577/0.7591, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.0034/0.7626, allocations: 1.529 MB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008469/0.7634, allocations: 446.9 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.7635, allocations: 0 / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.193e-05/0.7636, allocations: 3.938 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.7637, allocations: 11.94 kB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.7639, allocations: 23.91 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.613e-05/0.7641, allocations: 43.86 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.7642, allocations: 23.91 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.7643, allocations: 27.86 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.7644, allocations: 23.92 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.7644, allocations: 4 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-06/0.7644, allocations: 4 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.7645, allocations: 11.94 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.7645, allocations: 23.84 kB / 1.168 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.7647, allocations: 38.56 kB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7647, allocations: 0 / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7647, allocations: 4 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.7647, allocations: 0 / 1.168 GB, free: 1.578 MB / 0.8887 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.0005779/0.7653, allocations: 360.2 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.7653, allocations: 12.92 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.794e-05/0.7654, allocations: 38.75 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.7654, allocations: 8.828 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.7656, allocations: 172.3 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.7656, allocations: 4.375 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.7657, allocations: 8.359 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.7659, allocations: 65.8 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.7659, allocations: 0 / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.7659, allocations: 0 / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.7659, allocations: 4 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.7661, allocations: 43.95 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.7666, allocations: 296.7 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.767, allocations: 66.53 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.7671, allocations: 24.91 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.7672, allocations: 0 / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.7672, allocations: 30.56 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.7672, allocations: 0 / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.000421/0.7676, allocations: 89.59 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.7677, allocations: 55.41 kB / 1.169 GB, free: 140 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.7678, allocations: 121.8 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.453e-05/0.7678, allocations: 25.7 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.7679, allocations: 92.09 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.7679, allocations: 7.953 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.7679, allocations: 17.7 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7681, allocations: 318.8 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.911e-05/0.7682, allocations: 19.98 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.687e-05/0.7683, allocations: 19.92 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.7685, allocations: 49.03 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7685, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000229/0.7687, allocations: 73.61 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.7687, allocations: 8 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7688, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7688, allocations: 4 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.7689, allocations: 4 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7689, allocations: 7.938 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.769, allocations: 3.984 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.769, allocations: 11.94 kB / 1.17 GB, free: 15.32 MB / 0.9044 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.937e-05/0.7691, allocations: 112 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.7691, allocations: 7.953 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.7692, allocations: 7.891 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.7692, allocations: 8 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7692, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7692, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.7694, allocations: 173.5 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7694, allocations: 3.938 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.329e-05/0.7695, allocations: 11.98 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7695, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.7695, allocations: 4 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.7695, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7695, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.7698, allocations: 175.4 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.7698, allocations: 77.11 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.7699, allocations: 4 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.77, allocations: 3.984 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.77, allocations: 4 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.77, allocations: 0 / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.736e-05/0.7701, allocations: 107.2 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7701, allocations: 0 / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002293/0.7703, allocations: 4 kB / 1.171 GB, free: 14.54 MB / 0.9044 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.0005783/0.7709, allocations: 0.7007 MB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.7711, allocations: 35.97 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.7712, allocations: 4 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.67e-05/0.7713, allocations: 23.92 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.7716, allocations: 4 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.7732, allocations: 1.359 MB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.7735, allocations: 0.6807 MB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.7735, allocations: 7.969 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.7736, allocations: 19.44 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/0.7736, allocations: 0 / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.7929, allocations: 1.518 MB / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/8.474, allocations: 8.547 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches