Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.801/0.801, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009796/0.0009797, allocations: 185.6 kB / 187.3 MB, free: 11.88 MB / 154.7 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: 221.3 MB / 441.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009458/0.0009457, allocations: 97.36 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 274.1 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.541e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4321, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/0.6095, allocations: 109.3 MB / 0.871 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/0.6099, allocations: 79.83 kB / 0.871 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005953/0.6159, allocations: 1.476 MB / 0.8725 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6159, allocations: 0 / 0.8725 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.6159, allocations: 0 / 0.8725 GB, free: 13.72 MB / 0.5417 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.0004976/0.6164, allocations: 343.5 kB / 0.8728 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.6165, allocations: 12.03 kB / 0.8728 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.6165, allocations: 3.906 kB / 0.8728 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.6167, allocations: 167.9 kB / 0.873 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.6168, allocations: 7.953 kB / 0.873 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.6168, allocations: 2.25 kB / 0.873 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.617, allocations: 57.62 kB / 0.8731 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.617, allocations: 4 kB / 0.8731 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.617, allocations: 0 / 0.8731 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.617, allocations: 3.984 kB / 0.8731 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.34e-05/0.6171, allocations: 29.27 kB / 0.8731 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006484/0.6178, allocations: 310 kB / 0.8734 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.6181, allocations: 46.56 kB / 0.8734 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/0.6181, allocations: 12.92 kB / 0.8734 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.6182, allocations: 96 / 0.8734 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.6182, allocations: 38.55 kB / 0.8735 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.6182, allocations: 0 / 0.8735 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002216/0.6184, allocations: 61.53 kB / 0.8735 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.6185, allocations: 55.39 kB / 0.8736 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.6186, allocations: 105 kB / 0.8737 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.6187, allocations: 25.7 kB / 0.8737 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.6187, allocations: 96.12 kB / 0.8738 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.6188, allocations: 11.75 kB / 0.8738 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.6188, allocations: 3.938 kB / 0.8738 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.6189, allocations: 318.8 kB / 0.8741 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.422e-05/0.619, allocations: 12 kB / 0.8741 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.313e-05/0.619, allocations: 11.98 kB / 0.8741 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.6191, allocations: 8 kB / 0.8742 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6191, allocations: 0 / 0.8742 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001382/0.6193, allocations: 49.69 kB / 0.8742 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.6193, allocations: 7.938 kB / 0.8742 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6193, allocations: 0 / 0.8742 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.6193, allocations: 0 / 0.8742 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.6195, allocations: 15.98 kB / 0.8742 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.6195, allocations: 4 kB / 0.8742 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.872e-05/0.6196, allocations: 8 kB / 0.8742 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.6196, allocations: 0 / 0.8742 GB, free: 11.72 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.55e-05/0.6197, allocations: 108.9 kB / 0.8743 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.6197, allocations: 7.906 kB / 0.8743 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.6198, allocations: 8.016 kB / 0.8744 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6198, allocations: 4 kB / 0.8744 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6198, allocations: 0 / 0.8744 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6198, allocations: 0 / 0.8744 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.6201, allocations: 177.6 kB / 0.8745 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6201, allocations: 0 / 0.8745 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.6202, allocations: 15.98 kB / 0.8745 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.6202, allocations: 0 / 0.8745 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.6202, allocations: 0 / 0.8745 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6202, allocations: 0 / 0.8745 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6203, allocations: 0 / 0.8745 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.6205, allocations: 159.3 kB / 0.8747 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.6205, allocations: 81.11 kB / 0.8748 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.6206, allocations: 7.938 kB / 0.8748 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.6207, allocations: 4 kB / 0.8748 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.6207, allocations: 3.984 kB / 0.8748 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.6208, allocations: 0 / 0.8748 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.771e-05/0.6208, allocations: 99.22 kB / 0.8749 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6209, allocations: 0 / 0.8749 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003892/0.6213, allocations: 8 kB / 0.8749 GB, free: 10.96 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001214/0.6214, allocations: 99.25 kB / 0.875 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.6215, allocations: 23.98 kB / 0.875 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6215, allocations: 0 / 0.875 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.822e-05/0.6216, allocations: 15.94 kB / 0.875 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.6218, allocations: 3.953 kB / 0.875 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.6222, allocations: 92.78 kB / 0.8751 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.6225, allocations: 0.6891 MB / 0.8758 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.786e-05/0.6226, allocations: 4 kB / 0.8758 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.6226, allocations: 7.438 kB / 0.8758 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.6226, allocations: 0 / 0.8758 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of Templates: time 0.003038/0.6257, allocations: 421.6 kB / 0.8762 GB, free: 9.562 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & ./BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)