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.005292/0.005292, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001186/0.001186, allocations: 190 kB / 16.67 MB, free: 5.48 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.502/2.502, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 59.91 kB / 1.018 GB, free: 9.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.776/0.7773, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002361/0.7797, allocations: 1.53 MB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006355/0.7804, allocations: 442.9 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.7804, allocations: 4 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.7804, allocations: 7.922 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.489e-05/0.7805, allocations: 7.922 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.7807, allocations: 23.92 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.09e-05/0.7808, allocations: 47.78 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.7809, allocations: 12 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.781, allocations: 35.91 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.018e-05/0.7811, allocations: 15.92 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.7811, allocations: 4 kB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.7811, allocations: 4 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.7811, allocations: 15.92 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.7812, allocations: 19.88 kB / 1.168 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.972e-05/0.7813, allocations: 42.48 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.7813, allocations: 3.984 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7813, allocations: 0 / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.7813, allocations: 0 / 1.168 GB, free: 1.586 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.0004674/0.7818, allocations: 368.3 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.7818, allocations: 8.922 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.256e-05/0.7818, allocations: 30.75 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.7819, allocations: 8.891 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.782, allocations: 176.3 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.782, allocations: 4.375 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.782, allocations: 8.312 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.7822, allocations: 65.8 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.7823, allocations: 0 / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.7823, allocations: 4 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7823, allocations: 0 / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.7825, allocations: 43.91 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.7829, allocations: 300.7 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.7832, allocations: 66.53 kB / 1.169 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.396e-05/0.7833, allocations: 24.91 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.7833, allocations: 0 / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.7834, allocations: 34.5 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.7834, allocations: 0 / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0003539/0.7837, allocations: 93.64 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.7838, allocations: 51.41 kB / 1.169 GB, free: 140 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/0.7839, allocations: 117.8 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.7839, allocations: 25.7 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.7839, allocations: 100.1 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.784, allocations: 3.953 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.784, allocations: 13.72 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.7841, allocations: 326.8 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.373e-05/0.7842, allocations: 15.98 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.7843, allocations: 23.92 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.7844, allocations: 32.84 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7845, allocations: 3.984 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002063/0.7847, allocations: 73.62 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.7847, allocations: 4 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.7847, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7847, allocations: 4 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.7848, allocations: 11.92 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.7848, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.7849, allocations: 4 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.7849, allocations: 11.94 kB / 1.17 GB, free: 15.34 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 7.096e-05/0.785, allocations: 125.7 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.785, allocations: 7.953 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.785, allocations: 7.906 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.785, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.7851, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7851, allocations: 4 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.7852, allocations: 177.5 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7852, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.7853, allocations: 8 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7853, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.7853, allocations: 3.984 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.7853, allocations: 4 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7853, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.7856, allocations: 167.4 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.7856, allocations: 77.11 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.7857, allocations: 4.359 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.7857, allocations: 4 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.7858, allocations: 11.94 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.7858, allocations: 4 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.162e-05/0.7859, allocations: 95.2 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7859, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002313/0.7861, allocations: 8 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.0004722/0.7866, allocations: 0.7007 MB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.7868, allocations: 47.89 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7868, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.762e-05/0.7869, allocations: 15.98 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.0002608/0.7872, allocations: 8 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.001412/0.7886, allocations: 1.346 MB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.7888, allocations: 0.6885 MB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.7889, allocations: 0 / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.7889, allocations: 23.55 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of SimCode: time 4.31e-07/0.7889, allocations: 3.938 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.8062, allocations: 1.51 MB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.648, allocations: 11.95 kB / 1.175 GB, free: 10.15 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