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.00709/0.007091, allocations: 99.06 kB / 15.73 MB, free: 6.059 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.001646/0.001646, allocations: 189 kB / 16.67 MB, free: 5.969 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.396/2.396, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 62.08 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3138, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003112/0.3169, allocations: 1.525 MB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009093/0.3178, allocations: 440.3 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.3179, allocations: 0 / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.318, allocations: 3.938 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.318, allocations: 11.92 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.3183, allocations: 31.84 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.3184, allocations: 36.03 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3185, allocations: 19.97 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.3187, allocations: 31.73 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.3188, allocations: 19.86 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3188, allocations: 8 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.3188, allocations: 4 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.3188, allocations: 11.98 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.3189, allocations: 19.88 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.319, allocations: 44.03 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.319, allocations: 3.938 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.319, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.3191, allocations: 0 / 1.09 GB, free: 15.81 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.0006203/0.3197, allocations: 367.3 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3197, allocations: 12.03 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.3198, allocations: 30.75 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.3198, allocations: 4.938 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.32, allocations: 180.2 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.32, allocations: 4.375 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.3201, allocations: 4.375 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.3203, allocations: 61.8 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3203, allocations: 0 / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3203, allocations: 4 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3204, allocations: 4 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.3206, allocations: 43.97 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007417/0.3214, allocations: 296.7 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.3219, allocations: 66.53 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.322, allocations: 24.91 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.3221, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.3221, allocations: 34.56 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.3221, allocations: 0 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005556/0.3227, allocations: 89.55 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.3228, allocations: 55.41 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3229, allocations: 121.8 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.323, allocations: 29.64 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.323, allocations: 92.14 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3231, allocations: 11.89 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.3232, allocations: 17.72 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3233, allocations: 314.8 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.3235, allocations: 19.98 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.3236, allocations: 19.98 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.3238, allocations: 37.11 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3239, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003148/0.3242, allocations: 77.58 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3242, allocations: 4 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3242, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3243, allocations: 8 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3244, allocations: 4 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3244, allocations: 3.938 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.142e-05/0.3245, allocations: 15.88 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.3245, allocations: 3.938 kB / 1.092 GB, free: 13.56 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 0.0001231/0.3247, allocations: 113.8 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.3247, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.3248, allocations: 11.89 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3248, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3248, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.3248, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.3251, allocations: 169.6 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3251, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.3252, allocations: 15.92 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3252, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3253, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3253, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3253, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.3257, allocations: 175.4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.3258, allocations: 81.06 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.3259, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.326, allocations: 7.984 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.3261, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.3261, allocations: 4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.902e-05/0.3262, allocations: 103.1 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3262, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004229/0.3266, allocations: 8 kB / 1.092 GB, free: 12.77 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.0008111/0.3274, allocations: 0.6929 MB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.3278, allocations: 43.97 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3278, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.328, allocations: 23.92 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.3284, allocations: 13.7 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.3307, allocations: 1.349 MB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3311, allocations: 0.6807 MB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.931e-05/0.3312, allocations: 8.312 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.3312, allocations: 11.44 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.3312, allocations: 4.188 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.3543, allocations: 1.522 MB / 1.096 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.209, allocations: 8 kB / 1.096 GB, free: 8.387 MB / 0.8575 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