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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007244/0.007244, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001929/0.00193, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 64.25 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2838, allocations: 162.2 MB / 1.241 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002721/0.2865, allocations: 1.523 MB / 1.243 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007292/0.2873, allocations: 428.5 kB / 1.243 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.2873, allocations: 4 kB / 1.243 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.2874, allocations: 11.92 kB / 1.243 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.023e-05/0.2875, allocations: 7.875 kB / 1.243 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.2876, allocations: 23.97 kB / 1.243 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.2877, allocations: 51.78 kB / 1.243 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.2878, allocations: 19.98 kB / 1.243 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.288, allocations: 23.92 kB / 1.243 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.288, allocations: 19.91 kB / 1.243 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.288, allocations: 4 kB / 1.243 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.288, allocations: 4 kB / 1.243 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.2881, allocations: 11.92 kB / 1.243 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.2881, allocations: 15.94 kB / 1.243 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.2882, allocations: 44.05 kB / 1.244 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2882, allocations: 3.984 kB / 1.244 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2882, allocations: 0 / 1.244 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2883, allocations: 0 / 1.244 GB, free: 7.074 MB / 0.9669 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.0005383/0.2888, allocations: 372.9 kB / 1.244 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2888, allocations: 12.03 kB / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.2889, allocations: 38.69 kB / 1.244 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.2889, allocations: 8.891 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.2891, allocations: 176.3 kB / 1.244 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.2891, allocations: 4.359 kB / 1.244 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.2891, allocations: 4.375 kB / 1.244 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.2893, allocations: 65.8 kB / 1.244 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2894, allocations: 4 kB / 1.244 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.2894, allocations: 3.938 kB / 1.244 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2894, allocations: 4 kB / 1.244 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.2896, allocations: 39.91 kB / 1.244 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.29, allocations: 296.8 kB / 1.245 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.2904, allocations: 66.48 kB / 1.245 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.2905, allocations: 24.91 kB / 1.245 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.2905, allocations: 4 kB / 1.245 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.2906, allocations: 30.56 kB / 1.245 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2906, allocations: 0 / 1.245 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003877/0.291, allocations: 85.64 kB / 1.245 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.291, allocations: 55.41 kB / 1.245 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.2911, allocations: 113.8 kB / 1.245 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.2911, allocations: 33.7 kB / 1.245 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.2912, allocations: 92.08 kB / 1.245 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.2912, allocations: 12.02 kB / 1.245 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.2913, allocations: 13.72 kB / 1.245 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2914, allocations: 330.7 kB / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.671e-05/0.2915, allocations: 15.98 kB / 1.245 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.638e-05/0.2916, allocations: 15.98 kB / 1.245 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.2918, allocations: 36.84 kB / 1.245 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2918, allocations: 3.984 kB / 1.245 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002377/0.2921, allocations: 69.62 kB / 1.245 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2921, allocations: 8 kB / 1.245 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2921, allocations: 0 / 1.245 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.2921, allocations: 0 / 1.245 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.2922, allocations: 11.98 kB / 1.246 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2922, allocations: 3.938 kB / 1.246 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.043e-05/0.2923, allocations: 11.94 kB / 1.246 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.2923, allocations: 3.938 kB / 1.246 GB, free: 4.812 MB / 0.9669 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.246e-05/0.2924, allocations: 114.4 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.2924, allocations: 7.953 kB / 1.246 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.2925, allocations: 15.84 kB / 1.246 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2925, allocations: 3.938 kB / 1.246 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2925, allocations: 0 / 1.246 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2925, allocations: 336 / 1.246 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.2927, allocations: 177.6 kB / 1.246 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2927, allocations: 0 / 1.246 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.2928, allocations: 4 kB / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.2928, allocations: 7.984 kB / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2928, allocations: 3.984 kB / 1.246 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2928, allocations: 0 / 1.246 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2928, allocations: 4 kB / 1.246 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.2931, allocations: 171.4 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.2932, allocations: 81.11 kB / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.2932, allocations: 3.984 kB / 1.246 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.2933, allocations: 4 kB / 1.246 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.2933, allocations: 0 / 1.246 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.2933, allocations: 4 kB / 1.246 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.736e-05/0.2934, allocations: 103.6 kB / 1.246 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2934, allocations: 0 / 1.246 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002274/0.2936, allocations: 12 kB / 1.246 GB, free: 4.004 MB / 0.9669 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.0005878/0.2942, allocations: 0.6929 MB / 1.247 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.2945, allocations: 47.89 kB / 1.247 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2945, allocations: 0 / 1.247 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.2946, allocations: 19.98 kB / 1.247 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.2949, allocations: 8 kB / 1.247 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.2965, allocations: 1.357 MB / 1.248 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.2969, allocations: 0.6846 MB / 1.249 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.341e-05/0.2969, allocations: 4 kB / 1.249 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.297, allocations: 19.42 kB / 1.249 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.297, allocations: 0 / 1.249 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.3177, allocations: 1.512 MB / 1.25 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.415/7.732, allocations: 9.594 kB / 1.25 GB, free: 15.63 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 400 --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