Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",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.361/2.361, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001259/0.001259, allocations: 179.4 kB / 0.4901 GB, free: 2.254 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.688/1.688, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009992/0.0009985, allocations: 102.8 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003781, allocations: 13.78 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3178, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.931/5.249, allocations: 1.914 GB / 3.143 GB, free: 67.95 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004083/5.25, allocations: 95.94 kB / 3.143 GB, free: 67.85 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.664/6.914, allocations: 463.1 MB / 3.595 GB, free: 68.42 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.414e-06/6.914, allocations: 4 kB / 3.595 GB, free: 68.41 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001087/6.914, allocations: 20 kB / 3.595 GB, free: 68.39 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003978/6.918, allocations: 1.273 MB / 3.596 GB, free: 67.07 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/6.918, allocations: 8.031 kB / 3.596 GB, free: 67.06 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002554/6.918, allocations: 78.53 kB / 3.597 GB, free: 66.98 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/6.919, allocations: 162.8 kB / 3.597 GB, free: 66.82 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/6.921, allocations: 0.7187 MB / 3.597 GB, free: 66.05 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.881e-05/6.922, allocations: 37 kB / 3.597 GB, free: 66.02 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/6.922, allocations: 44 kB / 3.598 GB, free: 65.98 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/6.923, allocations: 446.3 kB / 3.598 GB, free: 65.52 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/6.923, allocations: 0 / 3.598 GB, free: 65.52 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/6.923, allocations: 16 kB / 3.598 GB, free: 65.51 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/6.923, allocations: 16.66 kB / 3.598 GB, free: 65.49 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007432/6.923, allocations: 354.3 kB / 3.598 GB, free: 65.14 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/6.927, allocations: 1.963 MB / 3.6 GB, free: 63.04 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/6.927, allocations: 359.5 kB / 3.601 GB, free: 62.67 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/6.928, allocations: 194.4 kB / 3.601 GB, free: 62.45 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/6.928, allocations: 34.8 kB / 3.601 GB, free: 62.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 3.126e-06/6.928, allocations: 0 / 3.601 GB, free: 62.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.001966/6.93, allocations: 0.6842 MB / 3.601 GB, free: 61.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/6.93, allocations: 55.41 kB / 3.601 GB, free: 61.63 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/6.931, allocations: 0.7734 MB / 3.602 GB, free: 60.84 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.758e-05/6.931, allocations: 41.64 kB / 3.602 GB, free: 60.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/6.932, allocations: 333.1 kB / 3.603 GB, free: 60.47 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.582e-05/6.932, allocations: 102.5 kB / 3.603 GB, free: 60.37 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/6.932, allocations: 4 kB / 3.603 GB, free: 60.36 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/6.932, allocations: 321.9 kB / 3.603 GB, free: 60.04 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/6.932, allocations: 135.9 kB / 3.603 GB, free: 59.91 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/6.932, allocations: 311.7 kB / 3.603 GB, free: 59.54 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/6.933, allocations: 166.7 kB / 3.604 GB, free: 59.38 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/6.933, allocations: 4 kB / 3.604 GB, free: 59.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009659/6.934, allocations: 478.7 kB / 3.604 GB, free: 58.89 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.941e-05/6.934, allocations: 267 kB / 3.604 GB, free: 58.61 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/6.934, allocations: 4 kB / 3.604 GB, free: 58.61 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/6.934, allocations: 32.84 kB / 3.604 GB, free: 58.57 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/6.935, allocations: 103.9 kB / 3.604 GB, free: 58.47 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006073/6.935, allocations: 1.162 MB / 3.606 GB, free: 57.26 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/6.936, allocations: 107.6 kB / 3.606 GB, free: 57.16 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/6.937, allocations: 12 kB / 3.606 GB, free: 57.14 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/6.937, allocations: 4.938 kB / 3.606 GB, free: 57.14 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007351/6.937, allocations: 364.5 kB / 3.606 GB, free: 56.78 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/6.937, allocations: 4 kB / 3.606 GB, free: 56.78 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/6.937, allocations: 40.77 kB / 3.606 GB, free: 56.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/6.938, allocations: 95.88 kB / 3.606 GB, free: 56.64 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/6.939, allocations: 1.471 MB / 3.608 GB, free: 55.03 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009534/6.94, allocations: 99.66 kB / 3.608 GB, free: 54.93 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/6.94, allocations: 19.95 kB / 3.608 GB, free: 54.91 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003285/6.94, allocations: 285.7 kB / 3.608 GB, free: 54.62 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/6.94, allocations: 75.06 kB / 3.608 GB, free: 54.55 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009186/6.941, allocations: 487.2 kB / 3.609 GB, free: 54.07 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/6.941, allocations: 4.422 kB / 3.609 GB, free: 54.06 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/6.941, allocations: 0 / 3.609 GB, free: 54.06 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/6.941, allocations: 7.922 kB / 3.609 GB, free: 54.05 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/6.943, allocations: 1.256 MB / 3.61 GB, free: 52.72 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/6.943, allocations: 0 / 3.61 GB, free: 52.72 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/6.944, allocations: 75.83 kB / 3.61 GB, free: 52.65 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/6.944, allocations: 52.92 kB / 3.61 GB, free: 52.59 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/6.944, allocations: 8 kB / 3.61 GB, free: 52.59 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003945/6.944, allocations: 1.146 MB / 3.611 GB, free: 51.39 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/6.944, allocations: 8.016 kB / 3.611 GB, free: 51.38 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/6.945, allocations: 0.8198 MB / 3.612 GB, free: 50.49 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/6.946, allocations: 220 kB / 3.612 GB, free: 50.25 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/6.946, allocations: 11.98 kB / 3.612 GB, free: 50.24 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007907/6.947, allocations: 59.88 kB / 3.612 GB, free: 50.18 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/6.947, allocations: 39.84 kB / 3.612 GB, free: 50.14 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/6.947, allocations: 8 kB / 3.612 GB, free: 50.14 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008686/6.948, allocations: 0.6278 MB / 3.613 GB, free: 49.51 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/6.948, allocations: 0 / 3.613 GB, free: 49.51 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001486/6.949, allocations: 431.7 kB / 3.613 GB, free: 49.09 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.s[1],dam.filter.s[2],vav.filter.s[1],vav.filter.s[2]) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003208/6.952, allocations: 2.9 MB / 3.616 GB, free: 46.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001485/6.954, allocations: 0.6353 MB / 3.617 GB, free: 45.45 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/6.954, allocations: 4 kB / 3.617 GB, free: 45.45 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003932/6.954, allocations: 188.1 kB / 3.617 GB, free: 45.27 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/6.956, allocations: 296.5 kB / 3.617 GB, free: 44.98 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006988/6.963, allocations: 4.764 MB / 3.622 GB, free: 40.13 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/6.963, allocations: 0.953 MB / 3.623 GB, free: 39.15 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000741/6.964, allocations: 181 kB / 3.623 GB, free: 38.97 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/6.964, allocations: 255.3 kB / 3.623 GB, free: 38.72 MB / 1.167 GB Notification: Performance of SimCode: time 8.82e-07/6.964, allocations: 0 / 3.623 GB, free: 38.72 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06145/7.026, allocations: 38.01 MB / 3.66 GB, free: 1.035 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/7.026, allocations: 267.9 kB / 3.66 GB, free: 0.6758 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.325/10.35, allocations: 2.875 kB / 3.66 GB, free: 0.6758 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat does not exist to compare? outputFormat=mat