Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.329/1.329, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 174.8 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007344/0.0007345, allocations: 80.03 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002971, allocations: 8.656 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1709, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00151/0.1724, allocations: 1.244 MB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005635/0.173, allocations: 487.4 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.173, allocations: 4 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.1731, allocations: 3.938 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.352e-05/0.1731, allocations: 3.984 kB / 0.9026 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.1733, allocations: 23.91 kB / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.3e-05/0.1734, allocations: 43.84 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.1735, allocations: 16 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.962e-05/0.1736, allocations: 19.91 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.447e-05/0.1736, allocations: 19.92 kB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1736, allocations: 0 / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.1737, allocations: 0 / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.1737, allocations: 15.92 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.1737, allocations: 45.52 kB / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.869e-05/0.1738, allocations: 39.86 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1738, allocations: 0 / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1738, allocations: 0 / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1738, allocations: 0 / 0.9028 GB, free: 61.45 MB / 0.6042 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.0004025/0.1742, allocations: 356.8 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1743, allocations: 8.031 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.1743, allocations: 34.75 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.1743, allocations: 4.844 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.229e-05/0.1744, allocations: 172.3 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.1744, allocations: 8.375 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-06/0.1745, allocations: 4.312 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1746, allocations: 69.8 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1747, allocations: 7.938 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1747, allocations: 0 / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1747, allocations: 0 / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.1749, allocations: 55.91 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.1752, allocations: 300.7 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.1755, allocations: 74.48 kB / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.611e-05/0.1756, allocations: 24.91 kB / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.1756, allocations: 0 / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.071e-05/0.1756, allocations: 34.56 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1756, allocations: 0 / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003229/0.176, allocations: 105.5 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.786e-05/0.176, allocations: 51.41 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.757e-05/0.1761, allocations: 121.8 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.565e-06/0.1761, allocations: 25.7 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.1761, allocations: 96.14 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.1761, allocations: 11.83 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.1761, allocations: 0 / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.225e-05/0.1762, allocations: 322.8 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.1763, allocations: 15.98 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.1764, allocations: 23.98 kB / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1765, allocations: 48.83 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1765, allocations: 0 / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001936/0.1767, allocations: 81.58 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1767, allocations: 8 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1767, allocations: 0 / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1768, allocations: 7.922 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.1768, allocations: 8 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1768, allocations: 0 / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.1769, allocations: 11.98 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1769, allocations: 7.938 kB / 0.9048 GB, free: 59.16 MB / 0.6042 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 4.247e-05/0.177, allocations: 109.8 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.177, allocations: 8.234 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.177, allocations: 7.906 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.177, allocations: 7.984 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1771, allocations: 0 / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1771, allocations: 3.984 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.1772, allocations: 169.6 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1772, allocations: 0 / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.1773, allocations: 15.98 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1773, allocations: 4 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1773, allocations: 0 / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1773, allocations: 0 / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1773, allocations: 4 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.1775, allocations: 187.3 kB / 0.9053 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.1775, allocations: 81.11 kB / 0.9054 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1775, allocations: 3.938 kB / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.1776, allocations: 4 kB / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.1777, allocations: 7.984 kB / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1777, allocations: 0 / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.1777, allocations: 99.2 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1777, allocations: 0 / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001859/0.1779, allocations: 12 kB / 0.9055 GB, free: 58.35 MB / 0.6042 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.0003378/0.1782, allocations: 0.7045 MB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.1784, allocations: 47.97 kB / 0.9062 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.1784, allocations: 0 / 0.9062 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.1785, allocations: 23.98 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.1788, allocations: 14.91 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1799, allocations: 1.389 MB / 0.9076 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.433e-05/0.18, allocations: 0.6887 MB / 0.9083 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.18, allocations: 0 / 0.9083 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.18, allocations: 19.42 kB / 0.9083 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.1801, allocations: 4 kB / 0.9083 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00945/0.1895, allocations: 1.265 MB / 0.9096 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001326/0.1897, allocations: 228.7 kB / 0.9098 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/1.647, allocations: 0 / 0.9098 GB, free: 53.95 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)