Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.183/2.183, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001001/0.001001, allocations: 188.7 kB / 487.4 MB, free: 5.066 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.515/1.515, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.001046/0.001045, allocations: 97.3 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.92e-05/1.926e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2633, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.241/1.505, allocations: 460.1 MB / 1.655 GB, free: 10.69 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000401/1.505, allocations: 94.77 kB / 1.655 GB, free: 10.64 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.401/2.907, allocations: 291.2 MB / 1.94 GB, free: 271.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.472e-06/2.907, allocations: 192 / 1.94 GB, free: 271.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001643/2.907, allocations: 39.94 kB / 1.94 GB, free: 271.5 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.005474/2.912, allocations: 1.862 MB / 1.942 GB, free: 269.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/2.912, allocations: 12.03 kB / 1.942 GB, free: 269.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/2.914, allocations: 201.7 kB / 1.942 GB, free: 269.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/2.917, allocations: 1.369 MB / 1.943 GB, free: 267.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.256e-05/2.917, allocations: 52 kB / 1.943 GB, free: 267.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004415/2.917, allocations: 87.91 kB / 1.943 GB, free: 267.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003468/2.921, allocations: 2.278 MB / 1.946 GB, free: 265.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/2.923, allocations: 1.617 MB / 1.947 GB, free: 263.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/2.923, allocations: 4 kB / 1.947 GB, free: 263.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/2.923, allocations: 0 / 1.947 GB, free: 263.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/2.923, allocations: 39.98 kB / 1.947 GB, free: 263.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.00688/2.93, allocations: 4.749 MB / 1.952 GB, free: 259 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/2.933, allocations: 2.636 MB / 1.954 GB, free: 256.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/2.934, allocations: 1.308 MB / 1.956 GB, free: 255 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/2.936, allocations: 1.73 MB / 1.957 GB, free: 252.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/2.936, allocations: 56.56 kB / 1.957 GB, free: 252.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=237): time 3.486e-06/2.936, allocations: 4 kB / 1.957 GB, free: 252.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=237): time 0.004925/2.941, allocations: 2.321 MB / 1.96 GB, free: 250.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/2.941, allocations: 81.39 kB / 1.96 GB, free: 250.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/2.942, allocations: 0.6604 MB / 1.96 GB, free: 249.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/2.942, allocations: 25.7 kB / 1.96 GB, free: 249.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/2.943, allocations: 490.2 kB / 1.961 GB, free: 249.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006045/2.943, allocations: 0.7618 MB / 1.962 GB, free: 248.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/2.943, allocations: 0 / 1.962 GB, free: 248.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001577/2.944, allocations: 386 kB / 1.962 GB, free: 248.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/2.945, allocations: 0.8201 MB / 1.963 GB, free: 247.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/2.946, allocations: 1.019 MB / 1.964 GB, free: 246.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/2.949, allocations: 1.224 MB / 1.965 GB, free: 245 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/2.949, allocations: 0 / 1.965 GB, free: 245 MB / 1.151 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004694/2.954, allocations: 2.42 MB / 1.967 GB, free: 242.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/2.954, allocations: 8 kB / 1.967 GB, free: 242.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/2.954, allocations: 7.984 kB / 1.967 GB, free: 242.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.769e-05/2.954, allocations: 12 kB / 1.967 GB, free: 242.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/2.955, allocations: 443.9 kB / 1.968 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-05/2.955, allocations: 15.94 kB / 1.968 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/2.957, allocations: 170.3 kB / 1.968 GB, free: 241.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/2.957, allocations: 79.92 kB / 1.968 GB, free: 241.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000346/2.958, allocations: 132.5 kB / 1.968 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005024/2.963, allocations: 2.325 MB / 1.971 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/2.963, allocations: 142.3 kB / 1.971 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005527/2.969, allocations: 2.69 MB / 1.973 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/2.969, allocations: 20 kB / 1.973 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/2.969, allocations: 4 kB / 1.973 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004051/2.973, allocations: 2.389 MB / 1.976 GB, free: 234 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007418/2.98, allocations: 4.096 MB / 1.98 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/2.98, allocations: 4 kB / 1.98 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/2.982, allocations: 415.5 kB / 1.98 GB, free: 229.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004011/2.982, allocations: 81.64 kB / 1.98 GB, free: 229.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/2.982, allocations: 23.98 kB / 1.98 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005525/2.983, allocations: 1.12 MB / 1.981 GB, free: 228.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.983, allocations: 0 / 1.981 GB, free: 228.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006416/2.989, allocations: 4.014 MB / 1.985 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/2.991, allocations: 494.5 kB / 1.986 GB, free: 223.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000376/2.991, allocations: 8 kB / 1.986 GB, free: 223.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/2.992, allocations: 75.8 kB / 1.986 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/2.993, allocations: 137.8 kB / 1.986 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/2.993, allocations: 67.98 kB / 1.986 GB, free: 223.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008463/2.994, allocations: 0.5187 MB / 1.986 GB, free: 222.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/2.994, allocations: 0 / 1.986 GB, free: 222.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002164/2.996, allocations: 0.6123 MB / 1.987 GB, free: 222.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007511/3.003, allocations: 5.159 MB / 1.992 GB, free: 217 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002969/3.006, allocations: 2.122 MB / 1.994 GB, free: 214.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/3.006, allocations: 0 / 1.994 GB, free: 214.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/3.008, allocations: 1.186 MB / 1.995 GB, free: 213.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003235/3.012, allocations: 485.6 kB / 1.996 GB, free: 213.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007559/3.019, allocations: 3.423 MB / 1.999 GB, free: 209.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009717/3.02, allocations: 1.367 MB / 2 GB, free: 208.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002529/3.023, allocations: 0.7227 MB / 2.001 GB, free: 207.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/3.024, allocations: 0.632 MB / 2.002 GB, free: 207 MB / 1.151 GB Notification: Performance of SimCode: time 1.273e-06/3.024, allocations: 0 / 2.002 GB, free: 207 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07498/3.099, allocations: 39.61 MB / 2.04 GB, free: 167.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/3.099, allocations: 131.9 kB / 2.041 GB, free: 167.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.49/6.589, allocations: 0 / 2.041 GB, free: 167.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat does not exist to compare? outputFormat=mat