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.007012/0.007012, allocations: 100.7 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.001606/0.001606, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7348 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 64.12 kB / 1.054 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2968, allocations: 157.4 MB / 1.207 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003106/0.3, allocations: 1.524 MB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008264/0.3008, allocations: 443.3 kB / 1.209 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/0.3009, allocations: 4 kB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.301, allocations: 3.938 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-05/0.3011, allocations: 11.86 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.3013, allocations: 23.91 kB / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.3015, allocations: 43.86 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3016, allocations: 19.98 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.3017, allocations: 23.91 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.3018, allocations: 23.92 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.3018, allocations: 4 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.3019, allocations: 4 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.3019, allocations: 7.938 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.3019, allocations: 23.86 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.3021, allocations: 51.81 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3021, allocations: 3.938 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3021, allocations: 0 / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3021, allocations: 0 / 1.209 GB, free: 8.02 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.0005163/0.3026, allocations: 359.5 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.3027, allocations: 12.62 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.3027, allocations: 34.75 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.3027, allocations: 12.84 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.3029, allocations: 160.4 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.3029, allocations: 4.375 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.3029, allocations: 4.375 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3031, allocations: 73.72 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3031, allocations: 0 / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3032, allocations: 3.938 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3032, allocations: 0 / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.3033, allocations: 43.97 kB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.3038, allocations: 300.7 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.3042, allocations: 66.47 kB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.3043, allocations: 20.91 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3043, allocations: 4 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.3043, allocations: 34.56 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.3043, allocations: 0 / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000361/0.3047, allocations: 85.56 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.3047, allocations: 55.34 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.302e-05/0.3048, allocations: 125.8 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3049, allocations: 29.7 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.3049, allocations: 88.14 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.3049, allocations: 7.906 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.305, allocations: 17.7 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.3051, allocations: 318.8 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.3052, allocations: 15.98 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.3053, allocations: 15.98 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3054, allocations: 44.83 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3054, allocations: 3.938 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001929/0.3056, allocations: 77.83 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3056, allocations: 13.7 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3057, allocations: 0 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3057, allocations: 0 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.3058, allocations: 8 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3058, allocations: 4 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.449e-05/0.3058, allocations: 7.984 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3058, allocations: 3.938 kB / 1.211 GB, free: 5.773 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 7.164e-05/0.3059, allocations: 109.8 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.306, allocations: 7.906 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.306, allocations: 11.89 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.306, allocations: 0 / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.306, allocations: 4 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.306, allocations: 0 / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.3062, allocations: 173.6 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3062, allocations: 4 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.089e-05/0.3063, allocations: 7.984 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3063, allocations: 0 / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3063, allocations: 8 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3063, allocations: 0 / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3063, allocations: 0 / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.3066, allocations: 179.2 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.3066, allocations: 81.11 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3066, allocations: 0 / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.3067, allocations: 7.984 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.3068, allocations: 0 / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3068, allocations: 0 / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.915e-05/0.3068, allocations: 103.2 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3068, allocations: 0 / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002203/0.3071, allocations: 7.938 kB / 1.212 GB, free: 4.98 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.0005156/0.3076, allocations: 0.7045 MB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.3078, allocations: 35.97 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3078, allocations: 7.938 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.653e-05/0.3079, allocations: 19.98 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.3083, allocations: 4 kB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.3098, allocations: 1.353 MB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3101, allocations: 0.6807 MB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.832e-05/0.3101, allocations: 12.27 kB / 1.215 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.3102, allocations: 15.44 kB / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3102, allocations: 0 / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.3421, allocations: 1.53 MB / 1.216 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/7.685, allocations: 12.31 kB / 1.216 GB, free: 0.5898 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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