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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.008392/0.008392, allocations: 95.58 kB / 15.73 MB, free: 6.039 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.002077/0.002077, allocations: 200.5 kB / 16.68 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.786/2.786, allocations: 469.4 MB / 0.7422 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.89 kB / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.296, allocations: 159.1 MB / 1.22 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002515/0.2985, allocations: 1.532 MB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007287/0.2993, allocations: 430.9 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.2993, allocations: 0 / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.2994, allocations: 7.922 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.519e-05/0.2994, allocations: 11.94 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.2996, allocations: 27.86 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.72e-05/0.2997, allocations: 43.84 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2998, allocations: 15.98 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.2999, allocations: 19.92 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.3, allocations: 23.92 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.3, allocations: 11.94 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-06/0.3, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.3, allocations: 15.92 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.3001, allocations: 23.86 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.088e-05/0.3002, allocations: 43.75 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3002, allocations: 0 / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3002, allocations: 4 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.3002, allocations: 0 / 1.222 GB, free: 12.52 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.000476/0.3007, allocations: 363.3 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.3007, allocations: 8.031 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.3008, allocations: 34.75 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.3008, allocations: 8.875 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3009, allocations: 168.3 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.3009, allocations: 8.375 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.301, allocations: 4.312 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.3011, allocations: 69.78 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.3012, allocations: 0 / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3012, allocations: 3.984 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3012, allocations: 8 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.3014, allocations: 43.95 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.3018, allocations: 296.7 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.3022, allocations: 62.55 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.882e-05/0.3023, allocations: 24.91 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.3023, allocations: 0 / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.3023, allocations: 30.56 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3023, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003705/0.3027, allocations: 97.53 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.3027, allocations: 55.41 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.3028, allocations: 117.8 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3029, allocations: 25.7 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.3029, allocations: 96.12 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.3029, allocations: 3.953 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.303, allocations: 13.72 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.3031, allocations: 326.7 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.472e-05/0.3032, allocations: 23.98 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.033e-05/0.3033, allocations: 11.98 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.3034, allocations: 44.77 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3035, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002229/0.3037, allocations: 73.56 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3037, allocations: 8 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.3037, allocations: 4 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.3037, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.3038, allocations: 7.984 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.3038, allocations: 4 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.3039, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-06/0.3039, allocations: 7.938 kB / 1.224 GB, free: 10.27 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 7.028e-05/0.304, allocations: 114.4 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.304, allocations: 7.953 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.3041, allocations: 7.906 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3041, allocations: 8 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3041, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.3041, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3043, allocations: 177.5 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3043, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-05/0.3044, allocations: 8 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3044, allocations: 0 / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.3044, allocations: 3.984 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3044, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3044, allocations: 3.938 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.3047, allocations: 175.7 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.3047, allocations: 81.09 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3047, allocations: 4 kB / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.3048, allocations: 0 / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.3049, allocations: 12 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3049, allocations: 3.984 kB / 1.224 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.021e-05/0.3049, allocations: 103.6 kB / 1.224 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3049, allocations: 0 / 1.224 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002265/0.3052, allocations: 4 kB / 1.224 GB, free: 9.469 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.0005052/0.3057, allocations: 0.7007 MB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3059, allocations: 43.89 kB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3059, allocations: 4 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.461e-05/0.306, allocations: 19.98 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.3063, allocations: 9.5 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.3079, allocations: 1.366 MB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.3082, allocations: 0.6885 MB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.3082, allocations: 0 / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.3083, allocations: 19.42 kB / 1.227 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3083, allocations: 0 / 1.227 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.3232, allocations: 1.507 MB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.902, allocations: 17.02 kB / 1.229 GB, free: 5.078 MB / 0.9825 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