Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.831/2.831, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 178.3 kB / 0.4901 GB, free: 2.258 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 223.1 MB / 0.7992 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 114.8 kB / 0.9396 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004595, allocations: 8.344 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3418, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2187/0.5606, allocations: 150.7 MB / 1.376 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.5609, allocations: 75.95 kB / 1.377 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.004438/0.5654, allocations: 1.483 MB / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5654, allocations: 0 / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.5654, allocations: 0 / 1.378 GB, free: 12.89 MB / 0.8855 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.000445/0.5659, allocations: 371.2 kB / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.5659, allocations: 8.562 kB / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.566, allocations: 30.56 kB / 1.378 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.566, allocations: 11.86 kB / 1.378 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.5662, allocations: 171 kB / 1.379 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.5662, allocations: 0 / 1.379 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.5662, allocations: 11.94 kB / 1.379 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.5665, allocations: 69.66 kB / 1.379 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.5665, allocations: 0 / 1.379 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5665, allocations: 0 / 1.379 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5665, allocations: 0 / 1.379 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.5667, allocations: 51.97 kB / 1.379 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.5673, allocations: 308.7 kB / 1.379 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.5676, allocations: 70.55 kB / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.5677, allocations: 0 / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.5677, allocations: 30.56 kB / 1.379 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.5677, allocations: 0 / 1.379 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0004163/0.5681, allocations: 113.7 kB / 1.379 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.5682, allocations: 51.41 kB / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.5683, allocations: 116.9 kB / 1.379 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.5683, allocations: 25.7 kB / 1.379 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.5684, allocations: 92.14 kB / 1.379 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.5684, allocations: 15.89 kB / 1.379 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.5684, allocations: 0 / 1.379 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.5686, allocations: 314.8 kB / 1.38 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.5687, allocations: 23.98 kB / 1.38 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.5688, allocations: 20.02 kB / 1.38 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.044e-05/0.5689, allocations: 23.98 kB / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5689, allocations: 0 / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000238/0.5692, allocations: 85.45 kB / 1.38 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5692, allocations: 9.094 kB / 1.38 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5692, allocations: 0 / 1.38 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5692, allocations: 4 kB / 1.38 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.5693, allocations: 15.94 kB / 1.38 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.5693, allocations: 0 / 1.38 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/0.5694, allocations: 15.98 kB / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.5694, allocations: 0 / 1.38 GB, free: 10.66 MB / 0.8855 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 0.0001062/0.5695, allocations: 109.8 kB / 1.38 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.5695, allocations: 11.84 kB / 1.38 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.5696, allocations: 11.91 kB / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5696, allocations: 4 kB / 1.38 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.5696, allocations: 3.953 kB / 1.38 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.5696, allocations: 3.984 kB / 1.38 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.5698, allocations: 165.7 kB / 1.38 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5699, allocations: 0 / 1.38 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/0.5699, allocations: 15.98 kB / 1.38 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5699, allocations: 0 / 1.38 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.57, allocations: 0 / 1.38 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.57, allocations: 7.938 kB / 1.38 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.57, allocations: 0 / 1.38 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.5703, allocations: 175.4 kB / 1.38 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.5703, allocations: 81.11 kB / 1.381 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.5704, allocations: 0 / 1.381 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-05/0.5705, allocations: 8 kB / 1.381 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.5705, allocations: 11.98 kB / 1.381 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.5705, allocations: 0 / 1.381 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.09e-05/0.5706, allocations: 91.27 kB / 1.381 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5706, allocations: 0 / 1.381 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002101/0.5708, allocations: 11.95 kB / 1.381 GB, free: 9.863 MB / 0.8855 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.0007248/0.5716, allocations: 0.7114 MB / 1.381 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.5718, allocations: 47.97 kB / 1.381 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5718, allocations: 0 / 1.381 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.5719, allocations: 23.98 kB / 1.381 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.5722, allocations: 9.141 kB / 1.381 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.5733, allocations: 0.5026 MB / 1.382 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.5736, allocations: 0.6889 MB / 1.383 GB, free: 7.777 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.831e-05/0.5736, allocations: 3.984 kB / 1.383 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.5737, allocations: 31.3 kB / 1.383 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of SimCode: time 4.51e-07/0.5737, allocations: 0 / 1.383 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.5868, allocations: 1.248 MB / 1.384 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.5871, allocations: 191.7 kB / 1.384 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.185, allocations: 4 kB / 1.384 GB, free: 6.398 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat does not exist to compare? outputFormat=mat