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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.001281, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001524, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 8 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7202, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.1811/0.9014, allocations: 145.9 MB / 1.096 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005615/0.9071, allocations: 3.213 MB / 1.099 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008027/0.9079, allocations: 19.81 kB / 1.099 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.9091, allocations: 310.5 kB / 1.1 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.9123, allocations: 1.101 MB / 1.101 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.9143, allocations: 0.6695 MB / 1.101 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001721/0.916, allocations: 0.9562 MB / 1.102 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007572/0.9168, allocations: 496 kB / 1.103 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.918, allocations: 0.6464 MB / 1.103 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005858/0.9186, allocations: 426.4 kB / 1.104 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.996e-05/0.9187, allocations: 32 kB / 1.104 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.9202, allocations: 0.6981 MB / 1.104 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.9204, allocations: 219.3 kB / 1.105 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.9206, allocations: 161.3 kB / 1.105 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.9217, allocations: 0.8613 MB / 1.106 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9217, allocations: 0 / 1.106 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9217, allocations: 3.938 kB / 1.106 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.9217, allocations: 0 / 1.106 GB, free: 4.082 MB / 0.8575 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.002642/0.9244, allocations: 1.129 MB / 1.107 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.9244, allocations: 12.03 kB / 1.107 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.9246, allocations: 74.53 kB / 1.107 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/0.9252, allocations: 130.9 kB / 1.107 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.9265, allocations: 0.6943 MB / 1.108 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.9266, allocations: 33 kB / 1.108 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.941e-05/0.9267, allocations: 47.95 kB / 1.108 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007862/0.9275, allocations: 458.2 kB / 1.108 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.9275, allocations: 0 / 1.108 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.9275, allocations: 16 kB / 1.108 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.9276, allocations: 16.64 kB / 1.108 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007275/0.9283, allocations: 362.4 kB / 1.108 GB, free: 1.016 MB / 0.8575 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.002593/0.9309, allocations: 1.916 MB / 1.11 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.9315, allocations: 310.4 kB / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.218e-05/0.9316, allocations: 11.98 kB / 1.111 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.9316, allocations: 42.52 kB / 1.111 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.9316, allocations: 4 kB / 1.111 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.001846/0.9335, allocations: 0.679 MB / 1.111 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.9335, allocations: 55.41 kB / 1.111 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.9348, allocations: 0.8679 MB / 1.112 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.9348, allocations: 41.64 kB / 1.112 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.9351, allocations: 332.7 kB / 1.113 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/0.9352, allocations: 90.64 kB / 1.113 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.9352, allocations: 12 kB / 1.113 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.9353, allocations: 317.9 kB / 1.113 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.9356, allocations: 127.9 kB / 1.113 GB, free: 12 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.936, allocations: 293.8 kB / 1.113 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.9363, allocations: 161.2 kB / 1.114 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9364, allocations: 0 / 1.114 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00103/0.9374, allocations: 462.2 kB / 1.114 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.9375, allocations: 276.2 kB / 1.114 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.9375, allocations: 0 / 1.114 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000323/0.9379, allocations: 60.88 kB / 1.114 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.9384, allocations: 99.86 kB / 1.114 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006407/0.9391, allocations: 1.158 MB / 1.116 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009004/0.94, allocations: 108.7 kB / 1.116 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.94, allocations: 8 kB / 1.116 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.9401, allocations: 8 kB / 1.116 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007661/0.9408, allocations: 342.1 kB / 1.116 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.9408, allocations: 0 / 1.116 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.941, allocations: 44.72 kB / 1.116 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.9414, allocations: 83.94 kB / 1.116 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.9427, allocations: 1.483 MB / 1.118 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009098/0.9436, allocations: 105 kB / 1.118 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.9436, allocations: 15.98 kB / 1.118 GB, free: 7.059 MB / 0.8731 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 (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 prepare postOptimizeDAE: time 0.0003186/0.9439, allocations: 282 kB / 1.118 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.9441, allocations: 71.58 kB / 1.118 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009629/0.945, allocations: 466.3 kB / 1.118 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.9451, allocations: 0 / 1.118 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.9451, allocations: 4 kB / 1.118 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.9451, allocations: 7.984 kB / 1.118 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.947, allocations: 1.215 MB / 1.12 GB, free: 4.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.947, allocations: 4.188 kB / 1.12 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.9474, allocations: 59.97 kB / 1.12 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.9475, allocations: 44.77 kB / 1.12 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.9476, allocations: 8 kB / 1.12 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005998/0.9482, allocations: 1.162 MB / 1.121 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.9482, allocations: 0 / 1.121 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.9495, allocations: 0.8011 MB / 1.122 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.9499, allocations: 208 kB / 1.122 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.95, allocations: 12 kB / 1.122 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006781/0.9507, allocations: 55.88 kB / 1.122 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.9507, allocations: 27.91 kB / 1.122 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.9508, allocations: 15.98 kB / 1.122 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009135/0.9517, allocations: 0.6395 MB / 1.123 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9517, allocations: 4 kB / 1.123 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009532/0.9527, allocations: 299.5 kB / 1.123 GB, free: 1.465 MB / 0.8731 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 (25): * Single equations (assignments): 23 * 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.002051/0.9547, allocations: 1.843 MB / 1.125 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.9563, allocations: 0.6321 MB / 1.125 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9563, allocations: 0 / 1.125 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000447/0.9568, allocations: 189.2 kB / 1.126 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.9583, allocations: 289.4 kB / 1.126 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007473/0.9658, allocations: 4.795 MB / 1.13 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.9664, allocations: 0.9606 MB / 1.131 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007707/0.9671, allocations: 161 kB / 1.132 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.9676, allocations: 267.3 kB / 1.132 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of SimCode: time 1.072e-06/0.9676, allocations: 0 / 1.132 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04062/1.008, allocations: 19.37 MB / 1.151 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/1.009, allocations: 260.9 kB / 1.151 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/3.253, allocations: 7.938 kB / 1.151 GB, free: 4.82 MB / 0.9044 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