Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001069/0.001069, allocations: 186.8 kB / 498.1 MB, free: 5.742 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.615/1.615, allocations: 223.2 MB / 0.7948 GB, free: 17.81 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.0008909/0.0008909, allocations: 103.8 kB / 0.9346 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004058, allocations: 11.17 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3291, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.85/5.179, allocations: 1.913 GB / 3.136 GB, free: 74.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/5.18, allocations: 101.2 kB / 3.136 GB, free: 74.45 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.604/6.784, allocations: 463.1 MB / 3.588 GB, free: 85.12 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.414e-06/6.784, allocations: 0 / 3.588 GB, free: 85.12 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.927e-05/6.784, allocations: 16 kB / 3.588 GB, free: 85.11 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.003004/6.787, allocations: 1.285 MB / 3.589 GB, free: 83.77 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/6.787, allocations: 12.03 kB / 3.589 GB, free: 83.76 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.469e-05/6.787, allocations: 70.53 kB / 3.589 GB, free: 83.68 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009337/6.788, allocations: 170.8 kB / 3.59 GB, free: 83.51 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/6.789, allocations: 0.7148 MB / 3.59 GB, free: 82.75 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/6.789, allocations: 33 kB / 3.59 GB, free: 82.72 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.407e-05/6.789, allocations: 47.94 kB / 3.59 GB, free: 82.67 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007204/6.79, allocations: 454.2 kB / 3.591 GB, free: 82.22 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/6.79, allocations: 0 / 3.591 GB, free: 82.22 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/6.79, allocations: 16 kB / 3.591 GB, free: 82.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/6.79, allocations: 20.64 kB / 3.591 GB, free: 82.18 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006373/6.791, allocations: 358.3 kB / 3.591 GB, free: 81.83 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.002264/6.793, allocations: 1.955 MB / 3.593 GB, free: 79.73 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/6.794, allocations: 360.5 kB / 3.593 GB, free: 79.37 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/6.794, allocations: 190.4 kB / 3.594 GB, free: 79.14 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/6.794, allocations: 42.75 kB / 3.594 GB, free: 79.09 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 1.863e-06/6.794, allocations: 0 / 3.594 GB, free: 79.09 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.001613/6.795, allocations: 0.6755 MB / 3.594 GB, free: 78.39 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/6.796, allocations: 55.41 kB / 3.594 GB, free: 78.33 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/6.797, allocations: 0.7812 MB / 3.595 GB, free: 77.54 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/6.797, allocations: 33.7 kB / 3.595 GB, free: 77.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/6.797, allocations: 329.2 kB / 3.595 GB, free: 77.18 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.102e-05/6.797, allocations: 102.5 kB / 3.596 GB, free: 77.07 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/6.797, allocations: 8 kB / 3.596 GB, free: 77.07 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.088e-05/6.797, allocations: 317.9 kB / 3.596 GB, free: 76.75 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/6.797, allocations: 135.9 kB / 3.596 GB, free: 76.62 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/6.798, allocations: 319.7 kB / 3.596 GB, free: 76.23 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/6.798, allocations: 166.6 kB / 3.596 GB, free: 76.07 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/6.798, allocations: 4 kB / 3.596 GB, free: 76.07 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000804/6.799, allocations: 477.1 kB / 3.597 GB, free: 75.59 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/6.799, allocations: 271 kB / 3.597 GB, free: 75.31 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/6.799, allocations: 0 / 3.597 GB, free: 75.31 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/6.799, allocations: 40.81 kB / 3.597 GB, free: 75.27 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/6.8, allocations: 107.8 kB / 3.597 GB, free: 75.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005177/6.8, allocations: 1.154 MB / 3.598 GB, free: 73.96 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009376/6.801, allocations: 99.69 kB / 3.599 GB, free: 73.86 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/6.801, allocations: 16 kB / 3.599 GB, free: 73.84 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/6.801, allocations: 7.984 kB / 3.599 GB, free: 73.84 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007124/6.802, allocations: 360.5 kB / 3.599 GB, free: 73.48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/6.802, allocations: 0 / 3.599 GB, free: 73.48 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/6.802, allocations: 36.83 kB / 3.599 GB, free: 73.44 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/6.803, allocations: 99.88 kB / 3.599 GB, free: 73.34 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/6.804, allocations: 1.468 MB / 3.6 GB, free: 71.73 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009161/6.805, allocations: 103.7 kB / 3.601 GB, free: 71.63 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/6.805, allocations: 8 kB / 3.601 GB, free: 71.62 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.0003284/6.805, allocations: 290 kB / 3.601 GB, free: 71.33 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/6.805, allocations: 75.06 kB / 3.601 GB, free: 71.26 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000878/6.806, allocations: 0.4908 MB / 3.601 GB, free: 70.75 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/6.806, allocations: 0 / 3.601 GB, free: 70.75 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/6.806, allocations: 0 / 3.601 GB, free: 70.75 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/6.806, allocations: 7.984 kB / 3.601 GB, free: 70.75 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/6.808, allocations: 1.253 MB / 3.603 GB, free: 69.41 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/6.808, allocations: 4 kB / 3.603 GB, free: 69.41 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/6.808, allocations: 63.89 kB / 3.603 GB, free: 69.35 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.95e-05/6.808, allocations: 44.77 kB / 3.603 GB, free: 69.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/6.808, allocations: 20.12 kB / 3.603 GB, free: 69.28 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004136/6.809, allocations: 1.15 MB / 3.604 GB, free: 68.08 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/6.809, allocations: 0 / 3.604 GB, free: 68.08 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/6.81, allocations: 0.8234 MB / 3.605 GB, free: 67.18 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/6.81, allocations: 224 kB / 3.605 GB, free: 66.95 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/6.81, allocations: 8 kB / 3.605 GB, free: 66.94 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007388/6.811, allocations: 55.94 kB / 3.605 GB, free: 66.88 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/6.811, allocations: 35.91 kB / 3.605 GB, free: 66.85 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/6.811, allocations: 16 kB / 3.605 GB, free: 66.83 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007979/6.812, allocations: 0.6278 MB / 3.606 GB, free: 66.21 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/6.812, allocations: 0 / 3.606 GB, free: 66.21 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001515/6.813, allocations: 427.7 kB / 3.606 GB, free: 65.79 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.003095/6.816, allocations: 2.9 MB / 3.609 GB, free: 62.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001481/6.818, allocations: 0.6397 MB / 3.61 GB, free: 62.15 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/6.818, allocations: 0 / 3.61 GB, free: 62.15 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003761/6.818, allocations: 187.7 kB / 3.61 GB, free: 61.97 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/6.82, allocations: 294.4 kB / 3.61 GB, free: 61.69 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/6.826, allocations: 4.781 MB / 3.615 GB, free: 56.81 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/6.827, allocations: 0.9569 MB / 3.616 GB, free: 55.82 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006919/6.827, allocations: 173 kB / 3.616 GB, free: 55.65 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/6.828, allocations: 255.3 kB / 3.616 GB, free: 55.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.472e-06/6.828, allocations: 0 / 3.616 GB, free: 55.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06057/6.888, allocations: 37.99 MB / 3.653 GB, free: 17.74 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/6.888, allocations: 267.4 kB / 3.653 GB, free: 17.38 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.106/9.994, allocations: 5.406 kB / 3.653 GB, free: 17.38 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat does not exist to compare? outputFormat=mat