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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008519/0.0008519, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004904/0.004904, allocations: 170 kB / 16.26 MB, free: 6.613 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.177/1.177, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.275/2.275, allocations: 443.3 MB / 0.7176 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002897, allocations: 10.03 kB / 0.8797 GB, free: 41.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.204, allocations: 155.2 MB / 1.031 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001293/0.2053, allocations: 1.251 MB / 1.032 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005093/0.2059, allocations: 439.4 kB / 1.033 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.2059, allocations: 4 kB / 1.033 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.2059, allocations: 7.922 kB / 1.033 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.206, allocations: 3.938 kB / 1.033 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.2061, allocations: 19.98 kB / 1.033 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.977e-05/0.2062, allocations: 39.8 kB / 1.033 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.2063, allocations: 23.97 kB / 1.033 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.2064, allocations: 11.94 kB / 1.033 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.495e-05/0.2064, allocations: 15.92 kB / 1.033 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.2064, allocations: 4 kB / 1.033 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.2064, allocations: 0 / 1.033 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.2065, allocations: 19.91 kB / 1.033 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.2065, allocations: 41.58 kB / 1.033 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.602e-05/0.2066, allocations: 44.09 kB / 1.033 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2066, allocations: 0 / 1.033 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2066, allocations: 0 / 1.033 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.2066, allocations: 0 / 1.033 GB, free: 2.332 MB / 0.7794 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.0003748/0.207, allocations: 351.4 kB / 1.033 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.207, allocations: 12.03 kB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.901e-05/0.2071, allocations: 34.75 kB / 1.033 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.138e-05/0.2071, allocations: 8.844 kB / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.437e-05/0.2072, allocations: 172.3 kB / 1.034 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2072, allocations: 384 / 1.034 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.2072, allocations: 8.375 kB / 1.034 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.2074, allocations: 69.78 kB / 1.034 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.2074, allocations: 0 / 1.034 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.2074, allocations: 7.938 kB / 1.034 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2074, allocations: 4 kB / 1.034 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.2076, allocations: 43.97 kB / 1.034 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.208, allocations: 308.6 kB / 1.034 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.2083, allocations: 66.55 kB / 1.034 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.2084, allocations: 32.91 kB / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.2084, allocations: 0 / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.2084, allocations: 34.56 kB / 1.034 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2084, allocations: 0 / 1.034 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003433/0.2088, allocations: 117.4 kB / 1.034 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.2088, allocations: 51.41 kB / 1.034 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.2089, allocations: 117.8 kB / 1.034 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.2089, allocations: 25.7 kB / 1.035 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.209, allocations: 92.12 kB / 1.035 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.209, allocations: 11.81 kB / 1.035 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.209, allocations: 9.719 kB / 1.035 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.2091, allocations: 326.8 kB / 1.035 GB, free: 248 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.2092, allocations: 15.98 kB / 1.035 GB, free: 232 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.2093, allocations: 19.98 kB / 1.035 GB, free: 212 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.2094, allocations: 52.83 kB / 1.035 GB, free: 156 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2094, allocations: 0 / 1.035 GB, free: 156 kB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002013/0.2097, allocations: 77.59 kB / 1.035 GB, free: 72 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.2097, allocations: 4 kB / 1.035 GB, free: 68 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2097, allocations: 4.328 kB / 1.035 GB, free: 64 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.343e-06/0.2097, allocations: 4 kB / 1.035 GB, free: 60 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.361e-05/0.2098, allocations: 15.98 kB / 1.035 GB, free: 44 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.2098, allocations: 0 / 1.035 GB, free: 44 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.2098, allocations: 4 kB / 1.035 GB, free: 40 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.2099, allocations: 7.938 kB / 1.035 GB, free: 32 kB / 0.7794 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 6.754e-05/0.2099, allocations: 109.8 kB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.21, allocations: 11.89 kB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.21, allocations: 15.89 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.21, allocations: 3.938 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.21, allocations: 0 / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.21, allocations: 4 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.2102, allocations: 173.5 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2102, allocations: 0 / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-05/0.2102, allocations: 15.92 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2103, allocations: 0 / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.2103, allocations: 4 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.2103, allocations: 0 / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2103, allocations: 4 kB / 1.035 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.2105, allocations: 179.4 kB / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.2106, allocations: 81.11 kB / 1.036 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.2106, allocations: 0 / 1.036 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.2107, allocations: 11.98 kB / 1.036 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.2107, allocations: 0 / 1.036 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2107, allocations: 4 kB / 1.036 GB, free: 15.33 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.2107, allocations: 99.2 kB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.2108, allocations: 0 / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001995/0.211, allocations: 8 kB / 1.036 GB, free: 15.22 MB / 0.795 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.0004192/0.2114, allocations: 0.7084 MB / 1.037 GB, free: 14.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.2116, allocations: 51.97 kB / 1.037 GB, free: 14.43 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2116, allocations: 0 / 1.037 GB, free: 14.43 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.958e-05/0.2117, allocations: 27.92 kB / 1.037 GB, free: 14.41 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.2119, allocations: 10.14 kB / 1.037 GB, free: 14.4 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.2132, allocations: 1.387 MB / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.2134, allocations: 0.6809 MB / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.2134, allocations: 4.25 kB / 1.039 GB, free: 12.22 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.2135, allocations: 15.42 kB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.2135, allocations: 4 kB / 1.039 GB, free: 12.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.646/5.859, allocations: 1.271 MB / 1.04 GB, free: 11.07 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/5.86, allocations: 212.8 kB / 1.04 GB, free: 10.82 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/8.38, allocations: 11.62 kB / 1.04 GB, free: 10.81 MB / 0.795 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