Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.42/2.42, allocations: 393.5 MB / 408.4 MB, free: 10.88 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.00207/0.002071, allocations: 191.4 kB / 0.4901 GB, free: 2.078 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.753/1.753, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001434/0.001435, allocations: 104.2 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003957, allocations: 7 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.369, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.057/5.426, allocations: 1.924 GB / 3.153 GB, free: 57.28 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/5.426, allocations: 92.98 kB / 3.153 GB, free: 57.19 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.244/8.67, allocations: 0.8147 GB / 3.968 GB, free: 136.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.244e-06/8.67, allocations: 0 / 3.968 GB, free: 136.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.171e-05/8.67, allocations: 28 kB / 3.968 GB, free: 136.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005366/8.676, allocations: 1.758 MB / 3.969 GB, free: 134.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/8.676, allocations: 16.5 kB / 3.969 GB, free: 134.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002793/8.676, allocations: 156 kB / 3.97 GB, free: 134.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/8.679, allocations: 426 kB / 3.97 GB, free: 134 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/8.681, allocations: 0.8868 MB / 3.971 GB, free: 133.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/8.681, allocations: 74 kB / 3.971 GB, free: 133 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/8.681, allocations: 96 kB / 3.971 GB, free: 132.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/8.683, allocations: 1.184 MB / 3.972 GB, free: 131.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/8.683, allocations: 7.906 kB / 3.972 GB, free: 131.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/8.683, allocations: 43.95 kB / 3.972 GB, free: 131.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/8.683, allocations: 41.98 kB / 3.972 GB, free: 131.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/8.685, allocations: 1.05 MB / 3.973 GB, free: 130.5 MB / 1.167 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.005166/8.69, allocations: 4.907 MB / 3.978 GB, free: 125.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/8.691, allocations: 0.9413 MB / 3.979 GB, free: 124.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005783/8.692, allocations: 0.685 MB / 3.98 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/8.692, allocations: 43.22 kB / 3.98 GB, free: 123.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 3.808e-06/8.692, allocations: 0 / 3.98 GB, free: 123.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=83): time 0.004238/8.696, allocations: 2.288 MB / 3.982 GB, free: 121 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/8.696, allocations: 60.41 kB / 3.982 GB, free: 120.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/8.697, allocations: 0.5544 MB / 3.983 GB, free: 120.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.8e-05/8.697, allocations: 45.7 kB / 3.983 GB, free: 120.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/8.697, allocations: 452.2 kB / 3.983 GB, free: 119.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/8.697, allocations: 299.6 kB / 3.983 GB, free: 119.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/8.698, allocations: 16 kB / 3.983 GB, free: 119.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001626/8.698, allocations: 394.7 kB / 3.984 GB, free: 119.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/8.698, allocations: 317.8 kB / 3.984 GB, free: 118.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/8.699, allocations: 442 kB / 3.984 GB, free: 118.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/8.699, allocations: 382.8 kB / 3.985 GB, free: 118 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/8.699, allocations: 0 / 3.985 GB, free: 118 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001456/8.701, allocations: 0.9541 MB / 3.986 GB, free: 117 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/8.701, allocations: 4.938 kB / 3.986 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/8.701, allocations: 4.25 kB / 3.986 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/8.701, allocations: 72.77 kB / 3.986 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/8.702, allocations: 159.7 kB / 3.986 GB, free: 116.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005034/8.702, allocations: 0.6344 MB / 3.987 GB, free: 116.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/8.704, allocations: 119.6 kB / 3.987 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/8.704, allocations: 28 kB / 3.987 GB, free: 116 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0007436/8.705, allocations: 298.5 kB / 3.987 GB, free: 115.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/8.705, allocations: 94.91 kB / 3.987 GB, free: 115.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/8.706, allocations: 0.9289 MB / 3.988 GB, free: 114.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/8.706, allocations: 8.047 kB / 3.988 GB, free: 114.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/8.706, allocations: 3.984 kB / 3.988 GB, free: 114.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/8.707, allocations: 0.9235 MB / 3.989 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/8.711, allocations: 2.079 MB / 3.991 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/8.711, allocations: 0 / 3.991 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000926/8.711, allocations: 187.8 kB / 3.991 GB, free: 111.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/8.712, allocations: 4 kB / 3.991 GB, free: 111.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/8.712, allocations: 23.98 kB / 3.991 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/8.712, allocations: 7.953 kB / 3.991 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/8.712, allocations: 0 / 3.991 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/8.713, allocations: 1.38 MB / 3.993 GB, free: 109.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005418/8.714, allocations: 255.9 kB / 3.993 GB, free: 109.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/8.714, allocations: 23.98 kB / 3.993 GB, free: 109.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008568/8.715, allocations: 75.84 kB / 3.993 GB, free: 109.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/8.715, allocations: 48.89 kB / 3.993 GB, free: 109.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/8.715, allocations: 31.98 kB / 3.993 GB, free: 109.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005294/8.716, allocations: 451 kB / 3.993 GB, free: 109.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/8.716, allocations: 4 kB / 3.993 GB, free: 109.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001836/8.717, allocations: 0.496 MB / 3.994 GB, free: 108.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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 Backend phase and start with SimCode phase: time 0.004382/8.722, allocations: 3.816 MB / 3.998 GB, free: 104.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001351/8.723, allocations: 0.8063 MB / 3.998 GB, free: 103.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/8.723, allocations: 0 / 3.998 GB, free: 103.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004908/8.724, allocations: 429.6 kB / 3.999 GB, free: 103.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/8.726, allocations: 0.5536 MB / 3.999 GB, free: 102.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008513/8.735, allocations: 7.414 MB / 4.007 GB, free: 95.26 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/8.735, allocations: 1.152 MB / 4.008 GB, free: 94.08 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001167/8.736, allocations: 251.8 kB / 4.008 GB, free: 93.83 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/8.737, allocations: 391.3 kB / 4.008 GB, free: 93.45 MB / 1.167 GB Notification: Performance of SimCode: time 1.052e-06/8.737, allocations: 3.938 kB / 4.008 GB, free: 93.44 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08503/8.822, allocations: 57.21 MB / 4.064 GB, free: 36.59 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/8.822, allocations: 199.5 kB / 4.064 GB, free: 36.36 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.881/12.7, allocations: 0 / 4.064 GB, free: 36.36 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat does not exist to compare? outputFormat=mat