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.00159/0.00159, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002407/0.002407, allocations: 191.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.486/2.486, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.553/4.553, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003109/0.003109, allocations: 64.92 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5637/0.5668, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.004081/0.571, allocations: 1.585 MB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.5721, allocations: 451.3 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.5722, allocations: 0 / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.681e-05/0.5723, allocations: 3.938 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.702e-05/0.5724, allocations: 3.984 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.5728, allocations: 27.92 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.5729, allocations: 43.86 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.5731, allocations: 15.98 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.5733, allocations: 23.91 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.5734, allocations: 23.92 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.5735, allocations: 0 / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.532e-05/0.5735, allocations: 7.938 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.5736, allocations: 15.92 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.5736, allocations: 15.88 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.5738, allocations: 43.88 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5739, allocations: 0 / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5739, allocations: 0 / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.5739, allocations: 0 / 1.055 GB, free: 6.379 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.0007733/0.5747, allocations: 371.5 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.5748, allocations: 8.625 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.513e-05/0.5748, allocations: 38.69 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.5749, allocations: 4.844 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.5751, allocations: 176.3 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.5752, allocations: 384 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.5752, allocations: 8.375 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.5755, allocations: 65.73 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.5756, allocations: 4 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.5756, allocations: 0 / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5756, allocations: 0 / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.576, allocations: 39.97 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007859/0.5768, allocations: 304.6 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/0.5774, allocations: 62.48 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.5776, allocations: 24.91 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.5776, allocations: 4 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.5777, allocations: 30.56 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.5777, allocations: 0 / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006692/0.5784, allocations: 89.64 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.5785, allocations: 55.34 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.5786, allocations: 117.8 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.5787, allocations: 29.7 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.5788, allocations: 96.03 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.5788, allocations: 7.906 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.5789, allocations: 13.72 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.5791, allocations: 322.8 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.5793, allocations: 19.98 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.5795, allocations: 11.98 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.5798, allocations: 45.11 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5798, allocations: 0 / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004098/0.5802, allocations: 73.56 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.5803, allocations: 9.188 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5803, allocations: 4 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.5803, allocations: 0 / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.5805, allocations: 11.92 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.5805, allocations: 8 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.92e-05/0.5806, allocations: 4 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.5807, allocations: 7.938 kB / 1.057 GB, free: 4.121 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 0.0001383/0.5808, allocations: 113.8 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.5809, allocations: 7.984 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.5809, allocations: 3.906 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.581, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.581, allocations: 4 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.581, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.5813, allocations: 181.5 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.5813, allocations: 3.984 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.5815, allocations: 8 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5815, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.5815, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5815, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5816, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.582, allocations: 175.4 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.5821, allocations: 81.02 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.5821, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.5823, allocations: 7.984 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.5824, allocations: 4 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.5824, allocations: 4 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.537e-05/0.5825, allocations: 95.64 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5825, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004263/0.583, allocations: 11.94 kB / 1.057 GB, free: 3.336 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.0008502/0.5838, allocations: 0.7007 MB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.5842, allocations: 39.95 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5842, allocations: 4 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.5844, allocations: 19.98 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.585, allocations: 8 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.5877, allocations: 1.353 MB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.5881, allocations: 0.6807 MB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.812e-05/0.5882, allocations: 11.97 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/0.5883, allocations: 15.77 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of SimCode: time 6.02e-07/0.5883, allocations: 0 / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6506/1.239, allocations: 1.384 MB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004507/1.239, allocations: 211.4 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.89/5.129, allocations: 4 kB / 1.062 GB, free: 14.86 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