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.25/2.25, allocations: 390.3 MB / 402.8 MB, free: 6.734 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.001173/0.001173, allocations: 180.8 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 221.3 MB / 0.7915 GB, free: 5.48 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.001016/0.001016, allocations: 83.97 kB / 0.9317 GB, free: 5.801 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.281e-05/5.292e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2844, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.533/5.818, allocations: 1.914 GB / 3.132 GB, free: 345.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/5.818, allocations: 90.44 kB / 3.133 GB, free: 345.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.719/7.537, allocations: 462.7 MB / 3.584 GB, free: 326.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.393e-06/7.537, allocations: 0 / 3.584 GB, free: 326.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.233e-05/7.537, allocations: 22.23 kB / 3.584 GB, free: 326.7 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.002362/7.54, allocations: 1.013 MB / 3.585 GB, free: 326.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/7.54, allocations: 7.812 kB / 3.585 GB, free: 326.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/7.54, allocations: 77.61 kB / 3.585 GB, free: 326 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/7.541, allocations: 169.3 kB / 3.586 GB, free: 326 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/7.543, allocations: 0.6931 MB / 3.586 GB, free: 325.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/7.543, allocations: 30.69 kB / 3.586 GB, free: 325.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/7.543, allocations: 43.94 kB / 3.586 GB, free: 325.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/7.544, allocations: 422.5 kB / 3.587 GB, free: 325.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/7.544, allocations: 3.906 kB / 3.587 GB, free: 325.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/7.544, allocations: 12 kB / 3.587 GB, free: 325.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/7.544, allocations: 19.31 kB / 3.587 GB, free: 325.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/7.544, allocations: 297.9 kB / 3.587 GB, free: 325.2 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.002791/7.547, allocations: 1.959 MB / 3.589 GB, free: 324 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/7.548, allocations: 319 kB / 3.589 GB, free: 323.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/7.548, allocations: 140.9 kB / 3.589 GB, free: 323.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/7.548, allocations: 195 kB / 3.59 GB, free: 323.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/7.548, allocations: 32.95 kB / 3.59 GB, free: 323.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/7.548, allocations: 0 / 3.59 GB, free: 323.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.001004/7.549, allocations: 408 kB / 3.59 GB, free: 323.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/7.549, allocations: 55.03 kB / 3.59 GB, free: 323.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/7.55, allocations: 0.7506 MB / 3.591 GB, free: 323 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/7.55, allocations: 33.39 kB / 3.591 GB, free: 323 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/7.55, allocations: 337.6 kB / 3.591 GB, free: 322.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.286e-05/7.551, allocations: 103.5 kB / 3.591 GB, free: 322.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/7.551, allocations: 7.812 kB / 3.591 GB, free: 322.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.002e-05/7.551, allocations: 317.9 kB / 3.592 GB, free: 322.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/7.551, allocations: 104.8 kB / 3.592 GB, free: 322.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/7.551, allocations: 278.4 kB / 3.592 GB, free: 322 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/7.551, allocations: 149.8 kB / 3.592 GB, free: 322 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/7.551, allocations: 0 / 3.592 GB, free: 322 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006334/7.552, allocations: 399.6 kB / 3.592 GB, free: 321.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.217e-05/7.552, allocations: 282.1 kB / 3.593 GB, free: 321.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/7.552, allocations: 0 / 3.593 GB, free: 321.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/7.552, allocations: 52.23 kB / 3.593 GB, free: 321.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/7.553, allocations: 102.9 kB / 3.593 GB, free: 321.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005295/7.553, allocations: 1.151 MB / 3.594 GB, free: 320.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000848/7.554, allocations: 100.4 kB / 3.594 GB, free: 320.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/7.554, allocations: 19.38 kB / 3.594 GB, free: 320.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/7.554, allocations: 3.812 kB / 3.594 GB, free: 320.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005292/7.555, allocations: 299.9 kB / 3.594 GB, free: 320.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/7.555, allocations: 3.375 kB / 3.594 GB, free: 320.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/7.555, allocations: 37.02 kB / 3.594 GB, free: 320.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/7.555, allocations: 102.5 kB / 3.595 GB, free: 320.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/7.556, allocations: 1.466 MB / 3.596 GB, free: 318.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008366/7.557, allocations: 98.36 kB / 3.596 GB, free: 318.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/7.557, allocations: 22.19 kB / 3.596 GB, free: 318.8 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 () * 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.0001237/7.557, allocations: 124.3 kB / 3.596 GB, free: 318.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/7.558, allocations: 70.27 kB / 3.596 GB, free: 318.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006854/7.558, allocations: 433.2 kB / 3.597 GB, free: 318.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/7.558, allocations: 5.469 kB / 3.597 GB, free: 318.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/7.558, allocations: 3.953 kB / 3.597 GB, free: 318.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/7.558, allocations: 3.5 kB / 3.597 GB, free: 318.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/7.56, allocations: 1.195 MB / 3.598 GB, free: 317.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/7.56, allocations: 2.875 kB / 3.598 GB, free: 317.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/7.56, allocations: 72.08 kB / 3.598 GB, free: 317.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.581e-05/7.56, allocations: 45.19 kB / 3.598 GB, free: 317.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/7.56, allocations: 7.719 kB / 3.598 GB, free: 317.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003939/7.561, allocations: 1.146 MB / 3.599 GB, free: 316.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/7.561, allocations: 7.344 kB / 3.599 GB, free: 316.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008126/7.562, allocations: 0.7425 MB / 3.6 GB, free: 316.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/7.562, allocations: 218.5 kB / 3.6 GB, free: 316 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/7.562, allocations: 9.094 kB / 3.6 GB, free: 316 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007027/7.563, allocations: 58.48 kB / 3.6 GB, free: 315.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/7.563, allocations: 34.81 kB / 3.6 GB, free: 315.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/7.563, allocations: 10.28 kB / 3.6 GB, free: 315.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007115/7.564, allocations: 0.6008 MB / 3.601 GB, free: 315.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.71e-07/7.564, allocations: 0 / 3.601 GB, free: 315.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001366/7.565, allocations: 433.7 kB / 3.601 GB, free: 315.6 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 () * 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.00267/7.568, allocations: 2.815 MB / 3.604 GB, free: 313.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001043/7.569, allocations: 0.5758 MB / 3.604 GB, free: 313.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/7.569, allocations: 0 / 3.604 GB, free: 313.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002879/7.569, allocations: 172.5 kB / 3.605 GB, free: 313.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/7.571, allocations: 299.1 kB / 3.605 GB, free: 313.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/7.572, allocations: 1.091 MB / 3.606 GB, free: 313 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/7.573, allocations: 0.9548 MB / 3.607 GB, free: 312.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009191/7.573, allocations: 280.9 kB / 3.607 GB, free: 312.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/7.574, allocations: 239.7 kB / 3.607 GB, free: 312.1 MB / 1.167 GB Notification: Performance of SimCode: time 2.41e-07/7.574, allocations: 0 / 3.607 GB, free: 312.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05948/7.633, allocations: 42.17 MB / 3.649 GB, free: 285.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/7.633, allocations: 240.6 kB / 3.649 GB, free: 285.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.524/11.16, allocations: 0 / 3.649 GB, free: 285.5 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