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: "" <> buildModelFMU(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8097/0.8097, allocations: 143.4 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 175.1 kB / 191.5 MB, free: 5.773 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.512/1.512, allocations: 223.2 MB / 447.7 MB, free: 6.539 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.0009187/0.0009187, allocations: 95.94 kB / 0.5187 GB, free: 2.895 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001887/0.001887, allocations: 263.7 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004742, allocations: 20 kB / 0.6929 GB, free: 2.223 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4445, allocations: 82.77 MB / 0.7738 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.6032, allocations: 109.3 MB / 0.8805 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.6034, allocations: 75.97 kB / 0.8806 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004002/0.6074, allocations: 1.487 MB / 0.8821 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.445e-06/0.6075, allocations: 0 / 0.8821 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.6075, allocations: 0 / 0.8821 GB, free: 11.18 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.0004385/0.6079, allocations: 371.1 kB / 0.8824 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.608, allocations: 8.031 kB / 0.8824 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.608, allocations: 30.56 kB / 0.8825 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.6081, allocations: 7.906 kB / 0.8825 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.6082, allocations: 175 kB / 0.8826 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.6082, allocations: 4 kB / 0.8826 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.6083, allocations: 4 kB / 0.8826 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.6085, allocations: 73.61 kB / 0.8827 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.6085, allocations: 0 / 0.8827 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6085, allocations: 4 kB / 0.8827 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.6085, allocations: 4 kB / 0.8827 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.6087, allocations: 43.97 kB / 0.8828 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.6092, allocations: 312.6 kB / 0.8831 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.6095, allocations: 70.55 kB / 0.8831 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.6095, allocations: 4 kB / 0.8831 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.6096, allocations: 34.64 kB / 0.8832 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6096, allocations: 0 / 0.8832 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0003777/0.61, allocations: 101.6 kB / 0.8833 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.61, allocations: 55.41 kB / 0.8833 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/0.6101, allocations: 109 kB / 0.8834 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.6101, allocations: 25.7 kB / 0.8834 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.6102, allocations: 92.12 kB / 0.8835 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.6102, allocations: 7.906 kB / 0.8835 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.6102, allocations: 4 kB / 0.8835 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.6104, allocations: 314.8 kB / 0.8838 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.6104, allocations: 23.98 kB / 0.8839 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.83e-05/0.6105, allocations: 24.11 kB / 0.8839 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.472e-05/0.6106, allocations: 24.06 kB / 0.8839 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6106, allocations: 0 / 0.8839 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002123/0.6109, allocations: 85.56 kB / 0.884 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6109, allocations: 7.938 kB / 0.884 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.6109, allocations: 3.938 kB / 0.884 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.6109, allocations: 0 / 0.884 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.611, allocations: 12 kB / 0.884 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.611, allocations: 3.984 kB / 0.884 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.6111, allocations: 8 kB / 0.884 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.6111, allocations: 0 / 0.884 GB, free: 8.957 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.253e-05/0.6112, allocations: 120.3 kB / 0.8841 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.6112, allocations: 3.906 kB / 0.8841 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.022e-05/0.6113, allocations: 15.89 kB / 0.8842 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.6113, allocations: 4 kB / 0.8842 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6113, allocations: 0 / 0.8842 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.6113, allocations: 0 / 0.8842 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.6115, allocations: 173.7 kB / 0.8843 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6115, allocations: 0 / 0.8843 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.6116, allocations: 15.98 kB / 0.8843 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6116, allocations: 0 / 0.8843 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.6116, allocations: 0 / 0.8843 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6116, allocations: 0 / 0.8843 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6116, allocations: 0 / 0.8843 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.6119, allocations: 187.4 kB / 0.8845 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.6119, allocations: 84.95 kB / 0.8846 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.6119, allocations: 0 / 0.8846 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.612, allocations: 11.98 kB / 0.8846 GB, free: 8.258 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.6121, allocations: 4 kB / 0.8846 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.6121, allocations: 0 / 0.8846 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.584e-05/0.6122, allocations: 91.27 kB / 0.8847 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6122, allocations: 0 / 0.8847 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002023/0.6124, allocations: 12 kB / 0.8847 GB, free: 8.152 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 () * 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 (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.0005673/0.6129, allocations: 0.7122 MB / 0.8854 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.6132, allocations: 51.97 kB / 0.8855 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6132, allocations: 0 / 0.8855 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.31e-05/0.6133, allocations: 23.98 kB / 0.8855 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.6136, allocations: 4.766 kB / 0.8855 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.6147, allocations: 0.5001 MB / 0.886 GB, free: 6.789 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.615, allocations: 0.6848 MB / 0.8866 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.615, allocations: 8.234 kB / 0.8867 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.6151, allocations: 15.61 kB / 0.8867 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of SimCode: time 3.3e-07/0.6151, allocations: 0 / 0.8867 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01251/0.6276, allocations: 1.263 MB / 0.8879 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.6279, allocations: 204.8 kB / 0.8881 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.233, allocations: 0 / 0.8881 GB, free: 4.699 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality.fmu > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)