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.601/2.601, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001301/0.001301, allocations: 176.9 kB / 492.3 MB, free: 0.6016 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.612/1.612, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009506/0.0009506, allocations: 97.78 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.215e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3014, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.036/6.337, allocations: 1.913 GB / 3.125 GB, free: 349.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/6.337, allocations: 94.53 kB / 3.125 GB, free: 349.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.833/8.17, allocations: 462.7 MB / 3.577 GB, free: 318.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.895e-06/8.17, allocations: 0 / 3.577 GB, free: 318.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001951/8.17, allocations: 22.84 kB / 3.577 GB, free: 318.8 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.003289/8.174, allocations: 1.008 MB / 3.578 GB, free: 318.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/8.174, allocations: 10 kB / 3.578 GB, free: 318.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002504/8.174, allocations: 75.88 kB / 3.578 GB, free: 318.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/8.175, allocations: 176.8 kB / 3.578 GB, free: 318.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/8.178, allocations: 0.6903 MB / 3.579 GB, free: 317.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/8.178, allocations: 35.41 kB / 3.579 GB, free: 317.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/8.178, allocations: 40.94 kB / 3.579 GB, free: 317.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000922/8.179, allocations: 419.6 kB / 3.58 GB, free: 317.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/8.179, allocations: 6.656 kB / 3.58 GB, free: 317.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/8.179, allocations: 17.34 kB / 3.58 GB, free: 317.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/8.179, allocations: 18.42 kB / 3.58 GB, free: 317.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005775/8.18, allocations: 291.9 kB / 3.58 GB, free: 317.8 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.003547/8.183, allocations: 1.953 MB / 3.582 GB, free: 316.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005158/8.184, allocations: 321.4 kB / 3.582 GB, free: 316.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/8.184, allocations: 141.4 kB / 3.582 GB, free: 316.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/8.184, allocations: 190 kB / 3.582 GB, free: 316.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/8.184, allocations: 41.48 kB / 3.582 GB, free: 316.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 2.956e-06/8.184, allocations: 2.969 kB / 3.583 GB, free: 316.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001075/8.185, allocations: 396.6 kB / 3.583 GB, free: 316.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/8.185, allocations: 54.5 kB / 3.583 GB, free: 316.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009641/8.186, allocations: 0.7528 MB / 3.584 GB, free: 316.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/8.186, allocations: 39.67 kB / 3.584 GB, free: 316.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/8.187, allocations: 329.1 kB / 3.584 GB, free: 316.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.685e-05/8.187, allocations: 108.3 kB / 3.584 GB, free: 316.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/8.187, allocations: 7.562 kB / 3.584 GB, free: 316.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001055/8.187, allocations: 320 kB / 3.584 GB, free: 315.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/8.187, allocations: 100.4 kB / 3.585 GB, free: 315.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/8.187, allocations: 282.7 kB / 3.585 GB, free: 315.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/8.188, allocations: 146.4 kB / 3.585 GB, free: 315.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/8.188, allocations: 0 / 3.585 GB, free: 315.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006855/8.188, allocations: 413 kB / 3.585 GB, free: 315.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/8.189, allocations: 271.3 kB / 3.586 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/8.189, allocations: 0 / 3.586 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/8.189, allocations: 46.03 kB / 3.586 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/8.189, allocations: 102.3 kB / 3.586 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006608/8.19, allocations: 1.159 MB / 3.587 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009119/8.191, allocations: 106.5 kB / 3.587 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/8.191, allocations: 15.09 kB / 3.587 GB, free: 314.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/8.191, allocations: 3.375 kB / 3.587 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005668/8.192, allocations: 301.4 kB / 3.587 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/8.192, allocations: 3.953 kB / 3.587 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/8.192, allocations: 38.22 kB / 3.587 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/8.192, allocations: 97.5 kB / 3.587 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/8.194, allocations: 1.467 MB / 3.589 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/8.194, allocations: 101.8 kB / 3.589 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/8.194, allocations: 13.47 kB / 3.589 GB, free: 312.8 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.0001395/8.195, allocations: 130.1 kB / 3.589 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/8.195, allocations: 72.34 kB / 3.589 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008171/8.196, allocations: 429.9 kB / 3.59 GB, free: 312.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/8.196, allocations: 3.812 kB / 3.59 GB, free: 312.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/8.196, allocations: 4 kB / 3.59 GB, free: 312.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/8.196, allocations: 6.859 kB / 3.59 GB, free: 312.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/8.197, allocations: 1.192 MB / 3.591 GB, free: 312.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/8.197, allocations: 0 / 3.591 GB, free: 312.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/8.198, allocations: 79.78 kB / 3.591 GB, free: 312.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.324e-05/8.198, allocations: 36.88 kB / 3.591 GB, free: 312.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/8.198, allocations: 12.5 kB / 3.591 GB, free: 312.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005227/8.198, allocations: 1.151 MB / 3.592 GB, free: 311.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/8.198, allocations: 0 / 3.592 GB, free: 311.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000945/8.199, allocations: 0.7409 MB / 3.593 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/8.2, allocations: 217.4 kB / 3.593 GB, free: 310.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.495e-05/8.2, allocations: 14.88 kB / 3.593 GB, free: 310.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006609/8.2, allocations: 59.31 kB / 3.593 GB, free: 310.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/8.201, allocations: 28.55 kB / 3.593 GB, free: 310.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/8.201, allocations: 22.3 kB / 3.593 GB, free: 310.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008134/8.201, allocations: 0.6044 MB / 3.594 GB, free: 310.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.201, allocations: 0 / 3.594 GB, free: 310.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001708/8.203, allocations: 431.6 kB / 3.594 GB, free: 310.5 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.003146/8.206, allocations: 2.811 MB / 3.597 GB, free: 308.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001151/8.207, allocations: 0.5778 MB / 3.597 GB, free: 308.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/8.207, allocations: 0 / 3.597 GB, free: 308.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002858/8.208, allocations: 156.5 kB / 3.597 GB, free: 308.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/8.209, allocations: 299.7 kB / 3.598 GB, free: 308.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/8.211, allocations: 1.089 MB / 3.599 GB, free: 308 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/8.211, allocations: 0.9655 MB / 3.6 GB, free: 307.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001003/8.213, allocations: 279.3 kB / 3.6 GB, free: 307.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/8.213, allocations: 228.4 kB / 3.6 GB, free: 307.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.3e-07/8.213, allocations: 0 / 3.6 GB, free: 307.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07588/8.289, allocations: 42.16 MB / 3.641 GB, free: 287.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/8.289, allocations: 239.7 kB / 3.642 GB, free: 287.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.784/12.07, allocations: 0 / 3.642 GB, free: 287.6 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