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.000985/0.000985, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001167/0.001167, allocations: 172.7 kB / 15.95 MB, free: 208 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.577/1.577, allocations: 223.3 MB / 240 MB, free: 5.434 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.486/2.486, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003475, allocations: 8 kB / 0.8149 GB, free: 14.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.7736, allocations: 142.3 MB / 0.9538 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.1903/0.9639, allocations: 158.7 MB / 1.109 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005368/0.9693, allocations: 3.108 MB / 1.112 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008149/0.9702, allocations: 23.81 kB / 1.112 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009041/0.9711, allocations: 226.4 kB / 1.112 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002501/0.9736, allocations: 0.8009 MB / 1.113 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.976, allocations: 0.7753 MB / 1.114 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00244/0.9785, allocations: 1.699 MB / 1.115 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009889/0.9795, allocations: 491.8 kB / 1.116 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.981, allocations: 0.6459 MB / 1.116 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009363/0.982, allocations: 0.533 MB / 1.117 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.9822, allocations: 36 kB / 1.117 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.9839, allocations: 0.6588 MB / 1.118 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004779/0.9844, allocations: 235.1 kB / 1.118 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.9848, allocations: 157.3 kB / 1.118 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.9862, allocations: 0.869 MB / 1.119 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.9862, allocations: 0 / 1.119 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9862, allocations: 3.938 kB / 1.119 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.625e-05/0.9862, allocations: 0 / 1.119 GB, free: 6.816 MB / 0.8731 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.002773/0.989, allocations: 1.133 MB / 1.12 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.9891, allocations: 8.031 kB / 1.12 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.9892, allocations: 74.53 kB / 1.12 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006661/0.9899, allocations: 130.9 kB / 1.12 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.9915, allocations: 0.6942 MB / 1.121 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.9916, allocations: 41 kB / 1.121 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.711e-05/0.9917, allocations: 47.95 kB / 1.121 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009652/0.9926, allocations: 450.3 kB / 1.121 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.9927, allocations: 4 kB / 1.121 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.9927, allocations: 12 kB / 1.121 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/0.9928, allocations: 20.59 kB / 1.121 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008759/0.9936, allocations: 374.3 kB / 1.122 GB, free: 3.734 MB / 0.8731 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.003641/0.9973, allocations: 1.912 MB / 1.124 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.9979, allocations: 306.4 kB / 1.124 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.9983, allocations: 160.8 kB / 1.124 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/0.9986, allocations: 202.2 kB / 1.124 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.9987, allocations: 38.52 kB / 1.124 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.204e-06/0.9987, allocations: 0 / 1.124 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.002021/1.001, allocations: 0.6805 MB / 1.125 GB, free: 224 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/1.001, allocations: 51.41 kB / 1.125 GB, free: 160 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/1.002, allocations: 0.8719 MB / 1.126 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-05/1.002, allocations: 41.64 kB / 1.126 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/1.003, allocations: 328.8 kB / 1.126 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/1.003, allocations: 94.56 kB / 1.126 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/1.003, allocations: 4 kB / 1.126 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.003, allocations: 321.9 kB / 1.127 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/1.003, allocations: 127.9 kB / 1.127 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/1.004, allocations: 295.1 kB / 1.127 GB, free: 14 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/1.004, allocations: 157.3 kB / 1.127 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/1.004, allocations: 4 kB / 1.127 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001141/1.005, allocations: 470.1 kB / 1.128 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.499e-05/1.005, allocations: 108.3 kB / 1.128 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.005, allocations: 0 / 1.128 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/1.006, allocations: 64.78 kB / 1.128 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/1.006, allocations: 99.86 kB / 1.128 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007978/1.007, allocations: 1.154 MB / 1.129 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009373/1.008, allocations: 107.5 kB / 1.129 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/1.008, allocations: 15.98 kB / 1.129 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/1.008, allocations: 4 kB / 1.129 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007796/1.009, allocations: 336.6 kB / 1.129 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/1.009, allocations: 48 / 1.129 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/1.009, allocations: 44.81 kB / 1.129 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/1.01, allocations: 91.88 kB / 1.13 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/1.011, allocations: 1.471 MB / 1.131 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00092/1.012, allocations: 105.4 kB / 1.131 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/1.012, allocations: 12 kB / 1.131 GB, free: 9.586 MB / 0.8887 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.0003687/1.012, allocations: 282.7 kB / 1.131 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/1.013, allocations: 75.06 kB / 1.131 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/1.014, allocations: 470.3 kB / 1.132 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.014, allocations: 4 kB / 1.132 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/1.014, allocations: 0 / 1.132 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.014, allocations: 0 / 1.132 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/1.016, allocations: 1.206 MB / 1.133 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.016, allocations: 4 kB / 1.133 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/1.016, allocations: 67.88 kB / 1.133 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/1.016, allocations: 40.8 kB / 1.133 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/1.016, allocations: 16.17 kB / 1.133 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000696/1.017, allocations: 1.142 MB / 1.134 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.017, allocations: 0 / 1.134 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/1.018, allocations: 0.7488 MB / 1.135 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/1.019, allocations: 212 kB / 1.135 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/1.019, allocations: 15.95 kB / 1.135 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006896/1.019, allocations: 59.92 kB / 1.135 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/1.02, allocations: 19.97 kB / 1.135 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/1.02, allocations: 12 kB / 1.135 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001065/1.021, allocations: 0.6317 MB / 1.136 GB, free: 4.402 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/1.021, allocations: 8 kB / 1.136 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001059/1.022, allocations: 299.5 kB / 1.136 GB, free: 4.102 MB / 0.8887 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.002091/1.024, allocations: 1.366 MB / 1.138 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001676/1.026, allocations: 0.6406 MB / 1.138 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.026, allocations: 0 / 1.138 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004575/1.026, allocations: 180.1 kB / 1.138 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.028, allocations: 300.8 kB / 1.139 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008753/1.037, allocations: 4.54 MB / 1.143 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006599/1.037, allocations: 0.9489 MB / 1.144 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000787/1.038, allocations: 165 kB / 1.144 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/1.038, allocations: 263.3 kB / 1.144 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of SimCode: time 8.11e-07/1.039, allocations: 0 / 1.144 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04567/1.084, allocations: 19.39 MB / 1.163 GB, free: 8.555 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/1.084, allocations: 272 kB / 1.164 GB, free: 8.191 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/3.379, allocations: 7.938 kB / 1.164 GB, free: 8.184 MB / 0.92 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