Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IBPSA_latest_IBPSA_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.001263/0.001263, allocations: 105.4 kB / 16.27 MB, free: 6.402 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.0009842/0.0009842, allocations: 192 kB / 17.2 MB, free: 5.973 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.257/1.257, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7094/0.7094, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 60.12 kB / 0.4912 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3024, allocations: 77.92 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Diagnostics.Validation.CheckEquality): time 0.002442/0.3048, allocations: 1.511 MB / 0.5687 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005877/0.3054, allocations: 441.9 kB / 0.5692 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.3055, allocations: 1.625 kB / 0.5692 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.3055, allocations: 5.953 kB / 0.5692 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.468e-05/0.3056, allocations: 9.578 kB / 0.5692 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.3058, allocations: 27.61 kB / 0.5692 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.372e-05/0.3059, allocations: 38.88 kB / 0.5692 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.306, allocations: 15.56 kB / 0.5693 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.396e-05/0.3061, allocations: 32.19 kB / 0.5693 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/0.3061, allocations: 22.83 kB / 0.5693 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.3061, allocations: 4.469 kB / 0.5693 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.3062, allocations: 4.594 kB / 0.5693 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.3062, allocations: 7.531 kB / 0.5693 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.3062, allocations: 23.41 kB / 0.5694 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.187e-05/0.3063, allocations: 45.84 kB / 0.5694 GB, free: 31.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3063, allocations: 0.5625 kB / 0.5694 GB, free: 31.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3063, allocations: 0 / 0.5694 GB, free: 31.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.3063, allocations: 0.9688 kB / 0.5694 GB, free: 31.1 MB / 446.1 MB 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.0004037/0.3067, allocations: 367.5 kB / 0.5697 GB, free: 30.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3068, allocations: 9.5 kB / 0.5698 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.517e-05/0.3068, allocations: 33.3 kB / 0.5698 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.3068, allocations: 8.781 kB / 0.5698 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.42e-05/0.3069, allocations: 173.1 kB / 0.57 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3069, allocations: 4.469 kB / 0.57 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.307, allocations: 2.344 kB / 0.57 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3071, allocations: 68.34 kB / 0.57 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3072, allocations: 4.938 kB / 0.57 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3072, allocations: 5.5 kB / 0.57 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.3072, allocations: 0 / 0.57 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.3074, allocations: 41.97 kB / 0.5701 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.3077, allocations: 294.4 kB / 0.5704 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.308, allocations: 64.61 kB / 0.5704 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.3081, allocations: 25.73 kB / 0.5704 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.3081, allocations: 0 / 0.5704 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.3081, allocations: 39.36 kB / 0.5705 GB, free: 30.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.3081, allocations: 0 / 0.5705 GB, free: 30.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003273/0.3085, allocations: 89.08 kB / 0.5706 GB, free: 30 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.726e-05/0.3085, allocations: 53.78 kB / 0.5706 GB, free: 29.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/0.3086, allocations: 125 kB / 0.5707 GB, free: 29.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.3086, allocations: 27.23 kB / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.3086, allocations: 93.11 kB / 0.5709 GB, free: 29.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.3086, allocations: 18.39 kB / 0.5709 GB, free: 29.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.3087, allocations: 21.72 kB / 0.5709 GB, free: 29.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.3087, allocations: 320 kB / 0.5712 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.3088, allocations: 16.92 kB / 0.5712 GB, free: 29.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.3089, allocations: 22.67 kB / 0.5712 GB, free: 29.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.309, allocations: 36.69 kB / 0.5713 GB, free: 29.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.309, allocations: 0 / 0.5713 GB, free: 29.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001909/0.3092, allocations: 73.48 kB / 0.5713 GB, free: 29.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3093, allocations: 6.625 kB / 0.5713 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3093, allocations: 0 / 0.5713 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3093, allocations: 0.9375 kB / 0.5714 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/0.3094, allocations: 13 kB / 0.5714 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3094, allocations: 0 / 0.5714 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.3094, allocations: 5.969 kB / 0.5714 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3094, allocations: 4.688 kB / 0.5714 GB, free: 29.28 MB / 446.1 MB 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 4.922e-05/0.3095, allocations: 113.1 kB / 0.5715 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.3095, allocations: 8.688 kB / 0.5715 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.3096, allocations: 10.73 kB / 0.5715 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3096, allocations: 0.9375 kB / 0.5715 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3096, allocations: 0.9688 kB / 0.5715 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.3096, allocations: 0 / 0.5715 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.3097, allocations: 173.8 kB / 0.5717 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3097, allocations: 1.719 kB / 0.5717 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.169e-05/0.3098, allocations: 10.53 kB / 0.5717 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3098, allocations: 0 / 0.5717 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.3098, allocations: 2.172 kB / 0.5717 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3098, allocations: 0.7188 kB / 0.5717 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3098, allocations: 1.062 kB / 0.5717 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.3101, allocations: 174.1 kB / 0.5718 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.3101, allocations: 82.89 kB / 0.5719 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3101, allocations: 2.062 kB / 0.5719 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.632e-05/0.3102, allocations: 9.859 kB / 0.5719 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.3102, allocations: 3.766 kB / 0.5719 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.3103, allocations: 2.078 kB / 0.5719 GB, free: 28.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.679e-05/0.3103, allocations: 100.8 kB / 0.572 GB, free: 28.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3103, allocations: 0.5 kB / 0.572 GB, free: 28.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.3105, allocations: 6.375 kB / 0.572 GB, free: 28.61 MB / 446.1 MB 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.0003439/0.3109, allocations: 0.7004 MB / 0.5727 GB, free: 27.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.3111, allocations: 45.14 kB / 0.5728 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.3111, allocations: 0 / 0.5728 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.897e-05/0.3112, allocations: 22.05 kB / 0.5728 GB, free: 27.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.3114, allocations: 13.78 kB / 0.5728 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.3126, allocations: 1.338 MB / 0.5741 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.31e-05/0.3127, allocations: 0.6841 MB / 0.5748 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.13e-05/0.3127, allocations: 4.547 kB / 0.5748 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.3128, allocations: 19.86 kB / 0.5748 GB, free: 25.99 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3128, allocations: 0 / 0.5748 GB, free: 25.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.3284, allocations: 1.473 MB / 0.5762 GB, free: 25.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.287, allocations: 18.56 kB / 0.5763 GB, free: 25.66 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality.fmu > IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)