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.005783/0.005783, allocations: 99.59 kB / 15.73 MB, free: 5.953 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.001202/0.001202, allocations: 198.5 kB / 16.68 MB, free: 5.875 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.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.242/2.242, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 0.9503 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8199, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002848/0.8228, allocations: 1.527 MB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007392/0.8235, allocations: 441.2 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.8236, allocations: 1 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.8236, allocations: 5.109 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.464e-05/0.8237, allocations: 9.688 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.824, allocations: 26.66 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.8241, allocations: 39.28 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.8242, allocations: 14.73 kB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.8243, allocations: 30.8 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.8244, allocations: 22.8 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.8244, allocations: 4.312 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.8244, allocations: 3.156 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.8245, allocations: 11.91 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.8245, allocations: 22 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.8246, allocations: 46.3 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8246, allocations: 0 / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8247, allocations: 0 / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.8247, allocations: 1.094 kB / 1.09 GB, free: 3.773 MB / 0.8575 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.0005093/0.8252, allocations: 361.2 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.8252, allocations: 9.594 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.8253, allocations: 36.59 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.8253, allocations: 4.797 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.47e-05/0.8254, allocations: 180.7 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.8254, allocations: 1.688 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.8254, allocations: 6.844 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.8257, allocations: 65.92 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8257, allocations: 0 / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.8257, allocations: 4 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.8257, allocations: 1.812 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.8259, allocations: 42.89 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.8264, allocations: 296.4 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.8267, allocations: 60.81 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.8268, allocations: 27.2 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.8269, allocations: 0.9688 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.8269, allocations: 40.14 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.8269, allocations: 3.938 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003975/0.8273, allocations: 88.5 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.8273, allocations: 52.16 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.462e-05/0.8274, allocations: 127.2 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.527e-06/0.8274, allocations: 26.83 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.8275, allocations: 92.28 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.8275, allocations: 9.578 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.8275, allocations: 18.25 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.8276, allocations: 317.6 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.8277, allocations: 17.95 kB / 1.091 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-05/0.8278, allocations: 21.22 kB / 1.091 GB, free: 2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.828, allocations: 35.94 kB / 1.091 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.828, allocations: 4.688 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002164/0.8282, allocations: 76.59 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.8282, allocations: 5.094 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8282, allocations: 0 / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.8282, allocations: 0.9688 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.8283, allocations: 13.7 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.8283, allocations: 1.031 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.839e-05/0.8284, allocations: 5.25 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.8284, allocations: 5.547 kB / 1.092 GB, free: 1.93 MB / 0.8575 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 5.757e-05/0.8285, allocations: 112.8 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.8285, allocations: 6.156 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.8286, allocations: 11.3 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8286, allocations: 0 / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8286, allocations: 4.938 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.8286, allocations: 0.6094 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.8288, allocations: 173.5 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8288, allocations: 1.312 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.234e-05/0.8289, allocations: 13.38 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.8289, allocations: 0 / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.8289, allocations: 5.594 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.8289, allocations: 0.6562 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8289, allocations: 3.938 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.8291, allocations: 169.4 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.8292, allocations: 86.38 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.8292, allocations: 1.438 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.8293, allocations: 4.594 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.8293, allocations: 2.938 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.8293, allocations: 1.891 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.8294, allocations: 96.72 kB / 1.092 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8294, allocations: 4 kB / 1.092 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002255/0.8296, allocations: 6.156 kB / 1.092 GB, free: 1.25 MB / 0.8575 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.0004711/0.8301, allocations: 0.6988 MB / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.8304, allocations: 44.11 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8304, allocations: 0.7188 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.8305, allocations: 24.31 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.8308, allocations: 2.641 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.8325, allocations: 1.35 MB / 1.094 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.8328, allocations: 0.6877 MB / 1.095 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.8328, allocations: 2.766 kB / 1.095 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.8329, allocations: 14.89 kB / 1.095 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of SimCode: time 6.61e-07/0.8329, allocations: 0.7188 kB / 1.095 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.8528, allocations: 1.518 MB / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/8.44, allocations: 9.484 kB / 1.096 GB, free: 14.21 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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