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.322/2.322, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001011/0.001011, allocations: 176.8 kB / 487.4 MB, free: 5.051 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.561/1.561, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009561/0.000956, allocations: 103.8 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.886e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3024, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.385/5.688, allocations: 1.912 GB / 3.118 GB, free: 436.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/5.688, allocations: 89.17 kB / 3.118 GB, free: 436.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.608/7.296, allocations: 457.2 MB / 3.565 GB, free: 320 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.435e-06/7.296, allocations: 0 / 3.565 GB, free: 320 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.207e-05/7.296, allocations: 21.75 kB / 3.565 GB, free: 320 MB / 1.151 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.002319/7.299, allocations: 1.019 MB / 3.566 GB, free: 319.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/7.299, allocations: 10.16 kB / 3.566 GB, free: 319.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009997/7.3, allocations: 171.9 kB / 3.566 GB, free: 319.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/7.301, allocations: 0.6853 MB / 3.567 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/7.301, allocations: 11.44 kB / 3.567 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-05/7.301, allocations: 28.78 kB / 3.567 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005576/7.302, allocations: 265.7 kB / 3.567 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006885/7.302, allocations: 369.3 kB / 3.567 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/7.302, allocations: 4.219 kB / 3.567 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/7.302, allocations: 1.547 kB / 3.567 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/7.303, allocations: 17.12 kB / 3.567 GB, free: 319.3 MB / 1.151 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.002869/7.305, allocations: 1.85 MB / 3.569 GB, free: 318.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/7.306, allocations: 312.4 kB / 3.569 GB, free: 318.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/7.306, allocations: 137.1 kB / 3.57 GB, free: 318.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/7.306, allocations: 194.2 kB / 3.57 GB, free: 318.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/7.306, allocations: 33.67 kB / 3.57 GB, free: 318.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 3.286e-06/7.307, allocations: 0 / 3.57 GB, free: 318.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001256/7.308, allocations: 407.8 kB / 3.57 GB, free: 318 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/7.308, allocations: 55.06 kB / 3.57 GB, free: 318 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000968/7.309, allocations: 0.6442 MB / 3.571 GB, free: 317.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/7.309, allocations: 25.7 kB / 3.571 GB, free: 317.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/7.309, allocations: 337.8 kB / 3.571 GB, free: 317.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/7.309, allocations: 100.8 kB / 3.571 GB, free: 317.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/7.309, allocations: 0 / 3.571 GB, free: 317.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001066/7.309, allocations: 313 kB / 3.572 GB, free: 317.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/7.31, allocations: 107.5 kB / 3.572 GB, free: 317.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/7.31, allocations: 262.8 kB / 3.572 GB, free: 317.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/7.31, allocations: 142.2 kB / 3.572 GB, free: 317.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/7.31, allocations: 0 / 3.572 GB, free: 317.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008032/7.311, allocations: 402.7 kB / 3.572 GB, free: 317.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/7.311, allocations: 266.9 kB / 3.573 GB, free: 316.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/7.311, allocations: 10.52 kB / 3.573 GB, free: 316.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/7.312, allocations: 33.31 kB / 3.573 GB, free: 316.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/7.312, allocations: 103.5 kB / 3.573 GB, free: 316.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007652/7.313, allocations: 1.162 MB / 3.574 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009638/7.314, allocations: 95.06 kB / 3.574 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/7.314, allocations: 15.58 kB / 3.574 GB, free: 315.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/7.314, allocations: 6.469 kB / 3.574 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006142/7.315, allocations: 283.5 kB / 3.574 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/7.315, allocations: 0.9375 kB / 3.574 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/7.315, allocations: 39.09 kB / 3.574 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/7.315, allocations: 95.62 kB / 3.575 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/7.317, allocations: 1.408 MB / 3.576 GB, free: 314.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008897/7.318, allocations: 85.12 kB / 3.576 GB, free: 314.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/7.318, allocations: 16.02 kB / 3.576 GB, free: 314.4 MB / 1.151 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.0001604/7.318, allocations: 109.5 kB / 3.576 GB, free: 314.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007113/7.319, allocations: 357 kB / 3.576 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/7.319, allocations: 67.84 kB / 3.576 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008959/7.32, allocations: 399.1 kB / 3.577 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/7.32, allocations: 4.25 kB / 3.577 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/7.32, allocations: 0 / 3.577 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/7.32, allocations: 9.484 kB / 3.577 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/7.322, allocations: 1.121 MB / 3.578 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/7.322, allocations: 0 / 3.578 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/7.322, allocations: 75.81 kB / 3.578 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/7.322, allocations: 27.7 kB / 3.578 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/7.322, allocations: 9.688 kB / 3.578 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000581/7.323, allocations: 1.146 MB / 3.579 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/7.323, allocations: 0.75 kB / 3.579 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/7.324, allocations: 0.7253 MB / 3.58 GB, free: 312.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/7.325, allocations: 208.7 kB / 3.58 GB, free: 312.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/7.325, allocations: 4.219 kB / 3.58 GB, free: 312.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007646/7.325, allocations: 54.27 kB / 3.58 GB, free: 312.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/7.326, allocations: 34.75 kB / 3.58 GB, free: 312.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/7.326, allocations: 20.22 kB / 3.58 GB, free: 312.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007046/7.326, allocations: 0.5028 MB / 3.581 GB, free: 312.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.326, allocations: 0 / 3.581 GB, free: 312.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001754/7.328, allocations: 401.6 kB / 3.581 GB, free: 312.1 MB / 1.151 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.00406/7.332, allocations: 2.932 MB / 3.584 GB, free: 310.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001464/7.334, allocations: 0.5578 MB / 3.584 GB, free: 310.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/7.334, allocations: 4.375 kB / 3.585 GB, free: 310.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/7.334, allocations: 149.3 kB / 3.585 GB, free: 310.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/7.336, allocations: 228.8 kB / 3.585 GB, free: 310.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/7.338, allocations: 1.047 MB / 3.586 GB, free: 310.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008192/7.339, allocations: 0.9574 MB / 3.587 GB, free: 309.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001448/7.341, allocations: 248.8 kB / 3.587 GB, free: 309.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/7.341, allocations: 234.5 kB / 3.587 GB, free: 309.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.433e-06/7.341, allocations: 0 / 3.587 GB, free: 309.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06952/7.41, allocations: 26.33 MB / 3.613 GB, free: 309.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/7.411, allocations: 184.4 kB / 3.613 GB, free: 308.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.072/10.48, allocations: 0 / 3.613 GB, free: 308.9 MB / 1.151 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