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.001465/0.001465, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.483/2.483, allocations: 461.9 MB / 0.7347 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 62.55 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2339, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002539/0.2364, allocations: 1.528 MB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000637/0.2371, allocations: 446.8 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.2371, allocations: 4 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.2372, allocations: 3.938 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.2373, allocations: 7.875 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.2374, allocations: 27.92 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.401e-05/0.2375, allocations: 51.77 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.877e-05/0.2376, allocations: 19.98 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.141e-05/0.2377, allocations: 23.92 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.2378, allocations: 23.86 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.2378, allocations: 4 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.2378, allocations: 4 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.2378, allocations: 15.97 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.2379, allocations: 15.88 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.798e-05/0.238, allocations: 39.88 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.238, allocations: 0 / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.206e-06/0.238, allocations: 0 / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.238, allocations: 3.938 kB / 1.055 GB, free: 6.031 MB / 0.8106 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.0004271/0.2384, allocations: 363.6 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2385, allocations: 8.625 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.2385, allocations: 38.73 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.2385, allocations: 12.84 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.11e-05/0.2386, allocations: 176.2 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2386, allocations: 384 / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.2387, allocations: 4.375 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.2388, allocations: 65.8 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.2389, allocations: 4 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.2389, allocations: 0 / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2389, allocations: 4 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.2391, allocations: 43.95 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.2394, allocations: 296.6 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.2398, allocations: 62.55 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.838e-05/0.2398, allocations: 24.91 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.2399, allocations: 0 / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.2399, allocations: 34.5 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.2399, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003331/0.2402, allocations: 93.64 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.2403, allocations: 51.41 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.2404, allocations: 117.8 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.2404, allocations: 25.7 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.2404, allocations: 96.03 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.2404, allocations: 7.906 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.2405, allocations: 17.72 kB / 1.057 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.2406, allocations: 326.7 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.2406, allocations: 11.98 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/0.2407, allocations: 19.98 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.2409, allocations: 44.77 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2409, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001983/0.2411, allocations: 73.58 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2411, allocations: 9.031 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2411, allocations: 0 / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2411, allocations: 4 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.2412, allocations: 7.984 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2412, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.2413, allocations: 4 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.2413, allocations: 3.938 kB / 1.057 GB, free: 3.789 MB / 0.8106 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.143e-05/0.2414, allocations: 117.8 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.2414, allocations: 4.328 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.2414, allocations: 7.906 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2414, allocations: 3.938 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2415, allocations: 3.984 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.2415, allocations: 0 / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.2416, allocations: 185.5 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2416, allocations: 0 / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/0.2417, allocations: 8 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2417, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2417, allocations: 11.98 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2417, allocations: 0 / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2417, allocations: 4 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.242, allocations: 163.5 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.242, allocations: 85 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.242, allocations: 0 / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.2421, allocations: 4 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.2421, allocations: 4 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.2421, allocations: 7.984 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.2422, allocations: 99.16 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2422, allocations: 0 / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002103/0.2424, allocations: 11.94 kB / 1.058 GB, free: 2.984 MB / 0.8106 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.0004214/0.2428, allocations: 0.6891 MB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.2431, allocations: 47.89 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2431, allocations: 0 / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.066e-05/0.2432, allocations: 19.98 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.2434, allocations: 15.88 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.2447, allocations: 1.334 MB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.2449, allocations: 0.6846 MB / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.2449, allocations: 8 kB / 1.06 GB, free: 56 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.245, allocations: 11.44 kB / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.245, allocations: 3.938 kB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9843/1.229, allocations: 1.484 MB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.758/10.99, allocations: 13.23 kB / 1.062 GB, free: 14.63 MB / 0.8262 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