Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",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.00106/0.00106, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001368/0.001369, allocations: 168.7 kB / 15.95 MB, free: 204 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.427/1.427, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.469/2.469, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005555/0.0005556, allocations: 15.92 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6533/0.6538, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1751/0.829, allocations: 183.9 MB / 1.161 GB, free: 13.88 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009549/0.8386, allocations: 6.933 MB / 1.167 GB, free: 6.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.8397, allocations: 31.81 kB / 1.168 GB, free: 6.898 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.8411, allocations: 469.1 kB / 1.168 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004711/0.8458, allocations: 1.749 MB / 1.17 GB, free: 4.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.8482, allocations: 0.8584 MB / 1.17 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004011/0.8522, allocations: 3.483 MB / 1.174 GB, free: 340 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.8535, allocations: 0.6812 MB / 1.175 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.8553, allocations: 0.8715 MB / 1.175 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.857, allocations: 0.9262 MB / 1.176 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.8573, allocations: 48 kB / 1.176 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003024/0.8603, allocations: 1.052 MB / 1.177 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005714/0.8609, allocations: 374.8 kB / 1.178 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005382/0.8614, allocations: 269.1 kB / 1.178 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.8638, allocations: 1.598 MB / 1.18 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8638, allocations: 0 / 1.18 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8638, allocations: 0 / 1.18 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.525e-05/0.8639, allocations: 0 / 1.18 GB, free: 10.49 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003153/0.867, allocations: 1.425 MB / 1.181 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.8671, allocations: 8.031 kB / 1.181 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002809/0.8674, allocations: 143.2 kB / 1.181 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.8699, allocations: 370.3 kB / 1.181 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.8713, allocations: 0.7894 MB / 1.182 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.8714, allocations: 65.98 kB / 1.182 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.8715, allocations: 91.84 kB / 1.182 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.8733, allocations: 1.042 MB / 1.183 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.8733, allocations: 0 / 1.183 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/0.8734, allocations: 32 kB / 1.183 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.007e-05/0.8735, allocations: 49.92 kB / 1.183 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.875, allocations: 0.8822 MB / 1.184 GB, free: 5.469 MB / 0.9356 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.004562/0.8796, allocations: 4.276 MB / 1.189 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.8807, allocations: 0.7011 MB / 1.189 GB, free: 132 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007313/0.8815, allocations: 455 kB / 1.19 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005781/0.8821, allocations: 0.677 MB / 1.19 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.8821, allocations: 43.11 kB / 1.19 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=70): time 2.104e-06/0.8821, allocations: 0 / 1.19 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.001828/0.8839, allocations: 0.9978 MB / 1.191 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.884, allocations: 63.91 kB / 1.191 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/0.8847, allocations: 0.6256 MB / 1.192 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.8848, allocations: 37.7 kB / 1.192 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.8851, allocations: 436 kB / 1.192 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.8853, allocations: 252.2 kB / 1.193 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.8853, allocations: 16 kB / 1.193 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.8855, allocations: 386.8 kB / 1.193 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.8859, allocations: 281.2 kB / 1.193 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.8865, allocations: 349.1 kB / 1.194 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/0.887, allocations: 331.1 kB / 1.194 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.887, allocations: 0 / 1.194 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001249/0.8882, allocations: 0.7854 MB / 1.195 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.8883, allocations: 9.562 kB / 1.195 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.8883, allocations: 3.984 kB / 1.195 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.8883, allocations: 4 kB / 1.195 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/0.889, allocations: 147.8 kB / 1.195 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.889, allocations: 7.953 kB / 1.195 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008256/0.8898, allocations: 115.5 kB / 1.195 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.8899, allocations: 20 kB / 1.195 GB, free: 9.918 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0003769/0.8903, allocations: 293.5 kB / 1.195 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.8904, allocations: 87.06 kB / 1.195 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.8918, allocations: 0.7919 MB / 1.196 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.8918, allocations: 12 kB / 1.196 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.8918, allocations: 3.984 kB / 1.196 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001055/0.8928, allocations: 0.8191 MB / 1.197 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.8954, allocations: 1.852 MB / 1.199 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8955, allocations: 0 / 1.199 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007926/0.8963, allocations: 175.8 kB / 1.199 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.8963, allocations: 3.938 kB / 1.199 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.8963, allocations: 23.98 kB / 1.199 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.8964, allocations: 3.953 kB / 1.199 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8964, allocations: 0 / 1.199 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.8981, allocations: 1.197 MB / 1.2 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/0.8985, allocations: 240 kB / 1.2 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.8986, allocations: 15.98 kB / 1.2 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/0.8993, allocations: 67.8 kB / 1.2 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.8994, allocations: 56.44 kB / 1.201 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.8995, allocations: 20 kB / 1.201 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005209/0.9, allocations: 455 kB / 1.201 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9, allocations: 3.938 kB / 1.201 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000804/0.9008, allocations: 331.2 kB / 1.201 GB, free: 3.332 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.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 (70): * Single equations (assignments): 70 * 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.002235/0.9031, allocations: 1.833 MB / 1.203 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.9042, allocations: 0.6798 MB / 1.204 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.9042, allocations: 4 kB / 1.204 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.9048, allocations: 367 kB / 1.204 GB, free: 448 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.907, allocations: 0.526 MB / 1.205 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008484/0.9155, allocations: 5.814 MB / 1.21 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.9161, allocations: 1.096 MB / 1.211 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009108/0.9171, allocations: 223.2 kB / 1.212 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/0.9176, allocations: 359.3 kB / 1.212 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.9176, allocations: 0 / 1.212 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/0.9573, allocations: 25.07 MB / 1.236 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.9575, allocations: 203.2 kB / 1.237 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/3.235, allocations: 3.938 kB / 1.237 GB, free: 15.33 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat does not exist to compare? outputFormat=mat