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.7786/0.7786, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.001133/0.001133, allocations: 181.5 kB / 187.3 MB, free: 11.89 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.559/1.559, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.000989/0.000989, allocations: 88.66 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001833, allocations: 282 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.108e-05/5.11e-05, allocations: 8 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.522, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.6602, allocations: 109.3 MB / 0.8711 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.6606, allocations: 75.36 kB / 0.8711 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004491/0.6651, allocations: 1.472 MB / 0.8726 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6651, allocations: 4 kB / 0.8726 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.6651, allocations: 4 kB / 0.8726 GB, free: 13.76 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.000458/0.6656, allocations: 352.5 kB / 0.8729 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/0.6657, allocations: 12.03 kB / 0.8729 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.059e-05/0.6657, allocations: 34.56 kB / 0.873 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.6657, allocations: 7.906 kB / 0.873 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.666, allocations: 174.9 kB / 0.8731 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.666, allocations: 0 / 0.8731 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.666, allocations: 12 kB / 0.8731 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.6662, allocations: 53.67 kB / 0.8732 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.6662, allocations: 0 / 0.8732 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.6662, allocations: 0 / 0.8732 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.6662, allocations: 0 / 0.8732 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.6663, allocations: 24 kB / 0.8732 GB, free: 13 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.6669, allocations: 316.6 kB / 0.8735 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.6671, allocations: 42.58 kB / 0.8736 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.385e-05/0.6672, allocations: 21 kB / 0.8736 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.6672, allocations: 0 / 0.8736 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.6672, allocations: 34.56 kB / 0.8736 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 3.456e-06/0.6672, allocations: 0 / 0.8736 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001843/0.6674, allocations: 57.53 kB / 0.8737 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.6675, allocations: 55.41 kB / 0.8737 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.6676, allocations: 101 kB / 0.8738 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.6676, allocations: 25.7 kB / 0.8738 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.6677, allocations: 100.1 kB / 0.8739 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.6677, allocations: 11.75 kB / 0.8739 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.6677, allocations: 0 / 0.8739 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.6679, allocations: 330.8 kB / 0.8743 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.668, allocations: 4 kB / 0.8743 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.954e-05/0.668, allocations: 8 kB / 0.8743 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.668, allocations: 8 kB / 0.8743 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.668, allocations: 0 / 0.8743 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.022e-05/0.6681, allocations: 53.62 kB / 0.8743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.6681, allocations: 5.406 kB / 0.8743 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6682, allocations: 4 kB / 0.8743 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.6682, allocations: 4 kB / 0.8743 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.852e-05/0.6683, allocations: 15.98 kB / 0.8744 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.6683, allocations: 0 / 0.8744 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.6683, allocations: 4 kB / 0.8744 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.6684, allocations: 8 kB / 0.8744 GB, free: 11.7 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.742e-05/0.6685, allocations: 108.9 kB / 0.8745 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.6685, allocations: 3.906 kB / 0.8745 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.6685, allocations: 12.03 kB / 0.8745 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6685, allocations: 192 / 0.8745 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6685, allocations: 4 kB / 0.8745 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6686, allocations: 3.984 kB / 0.8745 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.6688, allocations: 177.6 kB / 0.8747 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6688, allocations: 0 / 0.8747 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.6688, allocations: 8 kB / 0.8747 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.6689, allocations: 0 / 0.8747 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.6689, allocations: 0 / 0.8747 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.6689, allocations: 7.922 kB / 0.8747 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6689, allocations: 0 / 0.8747 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.6691, allocations: 155.4 kB / 0.8748 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.6691, allocations: 81.11 kB / 0.8749 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.6691, allocations: 0 / 0.8749 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.6692, allocations: 11.92 kB / 0.8749 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.6693, allocations: 4 kB / 0.8749 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.6693, allocations: 0 / 0.8749 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.91e-05/0.6693, allocations: 103.6 kB / 0.875 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6694, allocations: 4 kB / 0.875 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001873/0.6695, allocations: 4 kB / 0.875 GB, free: 10.93 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.0005191/0.6701, allocations: 0.685 MB / 0.8757 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.6702, allocations: 24 kB / 0.8757 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6702, allocations: 0 / 0.8757 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.6702, allocations: 19.98 kB / 0.8757 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.6705, allocations: 0 / 0.8757 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.6709, allocations: 124.5 kB / 0.8759 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.6712, allocations: 0.6848 MB / 0.8765 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.6712, allocations: 3.984 kB / 0.8765 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.6713, allocations: 19.44 kB / 0.8766 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.6713, allocations: 0 / 0.8766 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.6842, allocations: 1.254 MB / 0.8778 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.6844, allocations: 165.5 kB / 0.8779 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.419, allocations: 0 / 0.8779 GB, free: 7.973 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)