Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_9_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.001225/0.001225, 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.001171/0.001171, allocations: 191.1 kB / 16.25 MB, free: 6.625 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.21/1.21, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.112/2.112, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 0.8121 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4834, allocations: 140.4 MB / 0.9492 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002059/0.4855, allocations: 1.576 MB / 0.9508 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004598/0.486, allocations: 433.5 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.486, allocations: 1.281 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.4861, allocations: 3.938 kB / 0.9512 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.4861, allocations: 5.25 kB / 0.9512 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.4863, allocations: 25.3 kB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.071e-05/0.4864, allocations: 49.17 kB / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.4865, allocations: 19.17 kB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.4866, allocations: 23.83 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.3e-05/0.4866, allocations: 18.3 kB / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.4866, allocations: 3.781 kB / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.4866, allocations: 7.938 kB / 0.9513 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.4866, allocations: 21.34 kB / 0.9514 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.4867, allocations: 16.59 kB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.266e-05/0.4867, allocations: 36.36 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.4867, allocations: 0 / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4868, allocations: 1.812 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.4868, allocations: 0 / 0.9514 GB, free: 7.355 MB / 0.7169 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.0003509/0.4871, allocations: 362.8 kB / 0.9518 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.4872, allocations: 12.72 kB / 0.9518 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.028e-05/0.4872, allocations: 40.22 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.088e-05/0.4872, allocations: 7.531 kB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.731e-05/0.4873, allocations: 180.1 kB / 0.952 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.4873, allocations: 1.562 kB / 0.952 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.4873, allocations: 2.781 kB / 0.952 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.4875, allocations: 72.42 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.4875, allocations: 0 / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.4875, allocations: 0 / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4875, allocations: 2.062 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.4877, allocations: 45.53 kB / 0.9521 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.488, allocations: 298.6 kB / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.4882, allocations: 67.45 kB / 0.9524 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.011e-05/0.4883, allocations: 23.72 kB / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.4884, allocations: 0 / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.458e-06/0.4884, allocations: 32.16 kB / 0.9525 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.4884, allocations: 0 / 0.9525 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003044/0.4887, allocations: 86.64 kB / 0.9526 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.4887, allocations: 60.88 kB / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.373e-05/0.4888, allocations: 117.5 kB / 0.9528 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.4888, allocations: 25.7 kB / 0.9528 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.4888, allocations: 91.41 kB / 0.9529 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.4888, allocations: 12.88 kB / 0.9529 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.4889, allocations: 15.72 kB / 0.9529 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.257e-05/0.4889, allocations: 324.7 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.489, allocations: 17.92 kB / 0.9532 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.4891, allocations: 17.95 kB / 0.9532 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.4892, allocations: 36.25 kB / 0.9533 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4892, allocations: 0 / 0.9533 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00018/0.4894, allocations: 70.25 kB / 0.9533 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.4894, allocations: 5.469 kB / 0.9533 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.4894, allocations: 0 / 0.9533 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.4894, allocations: 5.125 kB / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/0.4895, allocations: 14.52 kB / 0.9534 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.4895, allocations: 0 / 0.9534 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.4896, allocations: 8.281 kB / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.4896, allocations: 5.062 kB / 0.9534 GB, free: 5.391 MB / 0.7169 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 3.91e-05/0.4896, allocations: 108.2 kB / 0.9535 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.4897, allocations: 6.297 kB / 0.9535 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.4897, allocations: 12.88 kB / 0.9535 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.4897, allocations: 5.031 kB / 0.9535 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4897, allocations: 4 kB / 0.9535 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4897, allocations: 5 kB / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.4898, allocations: 178.5 kB / 0.9537 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.4898, allocations: 1.062 kB / 0.9537 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.765e-05/0.4899, allocations: 6.094 kB / 0.9537 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4899, allocations: 1.094 kB / 0.9537 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.4899, allocations: 1.5 kB / 0.9537 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4899, allocations: 3.984 kB / 0.9537 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4899, allocations: 3.984 kB / 0.9537 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.4901, allocations: 177.8 kB / 0.9539 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.4902, allocations: 78.36 kB / 0.9539 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.4902, allocations: 5.203 kB / 0.9539 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.4903, allocations: 2.562 kB / 0.9539 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.4903, allocations: 5.312 kB / 0.954 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.4903, allocations: 1.219 kB / 0.954 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.191e-05/0.4903, allocations: 105.9 kB / 0.9541 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4904, allocations: 0 / 0.9541 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002043/0.4906, allocations: 9.594 kB / 0.9541 GB, free: 4.66 MB / 0.7169 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.0003178/0.4909, allocations: 0.6924 MB / 0.9547 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.4911, allocations: 46.33 kB / 0.9548 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4911, allocations: 0 / 0.9548 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.4912, allocations: 20.33 kB / 0.9548 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.4914, allocations: 3.156 kB / 0.9548 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.4925, allocations: 1.356 MB / 0.9561 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.13e-05/0.4926, allocations: 0.6852 MB / 0.9568 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.4926, allocations: 5.734 kB / 0.9568 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.4926, allocations: 14.25 kB / 0.9568 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.4926, allocations: 0 / 0.9568 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6014/1.094, allocations: 1.376 MB / 0.9582 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/1.094, allocations: 210.3 kB / 0.9584 GB, free: 1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.853, allocations: 7.875 kB / 0.9584 GB, free: 0.9922 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches