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.001477/0.001477, allocations: 100 kB / 15.05 MB, free: 1.105 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.001793/0.001794, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.315/2.315, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.231/4.231, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005955/0.0005957, allocations: 8 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567/1.568, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.3385/1.907, allocations: 167.1 MB / 1.144 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0197/1.926, allocations: 7.363 MB / 1.151 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002989/1.929, allocations: 31.81 kB / 1.151 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00422/1.934, allocations: 0.6377 MB / 1.152 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/1.946, allocations: 2.103 MB / 1.154 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006128/1.952, allocations: 0.9624 MB / 1.155 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006811/1.959, allocations: 1.683 MB / 1.157 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/1.961, allocations: 0.6852 MB / 1.157 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003896/1.965, allocations: 0.7981 MB / 1.158 GB, free: 460 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00254/1.968, allocations: 0.6109 MB / 1.159 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005834/1.968, allocations: 48 kB / 1.159 GB, free: 15.79 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006013/1.974, allocations: 0.8892 MB / 1.159 GB, free: 14.9 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001306/1.976, allocations: 351 kB / 1.16 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/1.977, allocations: 265.1 kB / 1.16 GB, free: 14.29 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004503/1.981, allocations: 1.469 MB / 1.162 GB, free: 12.82 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.981, allocations: 0 / 1.162 GB, free: 12.82 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.569e-06/1.981, allocations: 0 / 1.162 GB, free: 12.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.942e-05/1.981, allocations: 0 / 1.162 GB, free: 12.82 MB / 0.92 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.005547/1.987, allocations: 1.383 MB / 1.163 GB, free: 11.38 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.822e-05/1.987, allocations: 12.03 kB / 1.163 GB, free: 11.37 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004532/1.988, allocations: 139.3 kB / 1.163 GB, free: 11.23 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004511/1.992, allocations: 374.3 kB / 1.163 GB, free: 10.86 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/1.995, allocations: 0.7856 MB / 1.164 GB, free: 10.03 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/1.996, allocations: 62 kB / 1.164 GB, free: 9.969 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004586/1.996, allocations: 95.89 kB / 1.164 GB, free: 9.875 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002992/1.999, allocations: 1.026 MB / 1.165 GB, free: 8.816 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/1.999, allocations: 8 kB / 1.165 GB, free: 8.809 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.999, allocations: 35.98 kB / 1.165 GB, free: 8.773 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-05/1.999, allocations: 49.92 kB / 1.165 GB, free: 8.723 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/2.001, allocations: 0.8705 MB / 1.166 GB, free: 7.855 MB / 0.92 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.007295/2.009, allocations: 4.292 MB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/2.01, allocations: 0.6933 MB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/2.011, allocations: 0.681 MB / 1.172 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/2.011, allocations: 39.12 kB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 3.727e-06/2.011, allocations: 0 / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.002496/2.014, allocations: 0.9977 MB / 1.173 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/2.014, allocations: 71.91 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/2.015, allocations: 0.6256 MB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/2.015, allocations: 37.7 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000468/2.015, allocations: 444 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004042/2.016, allocations: 240.4 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/2.016, allocations: 12 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003178/2.016, allocations: 386.8 kB / 1.175 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006415/2.017, allocations: 277.2 kB / 1.175 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/2.018, allocations: 357.1 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/2.018, allocations: 331.1 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/2.018, allocations: 0 / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002115/2.02, allocations: 0.7852 MB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/2.02, allocations: 9.25 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/2.02, allocations: 11.86 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/2.021, allocations: 12.19 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009162/2.021, allocations: 143.8 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/2.021, allocations: 4 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/2.023, allocations: 119.2 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.207e-05/2.023, allocations: 24 kB / 1.177 GB, free: 12.73 MB / 0.9356 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.0009813/2.024, allocations: 285.6 kB / 1.177 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/2.024, allocations: 83.06 kB / 1.177 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/2.026, allocations: 0.7958 MB / 1.178 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/2.026, allocations: 8 kB / 1.178 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/2.026, allocations: 0 / 1.178 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001567/2.028, allocations: 0.823 MB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/2.03, allocations: 0.9813 MB / 1.179 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/2.03, allocations: 0 / 1.179 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009388/2.031, allocations: 155.9 kB / 1.18 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/2.031, allocations: 4 kB / 1.18 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/2.031, allocations: 19.98 kB / 1.18 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/2.031, allocations: 4 kB / 1.18 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/2.031, allocations: 0 / 1.18 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/2.034, allocations: 1.198 MB / 1.181 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009378/2.035, allocations: 259.8 kB / 1.181 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/2.035, allocations: 12 kB / 1.181 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/2.036, allocations: 83.72 kB / 1.181 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/2.037, allocations: 40.5 kB / 1.181 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-05/2.037, allocations: 20 kB / 1.181 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001242/2.038, allocations: 455 kB / 1.182 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/2.038, allocations: 0 / 1.182 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001833/2.04, allocations: 327.3 kB / 1.182 GB, free: 7.043 MB / 0.9356 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.004479/2.044, allocations: 1.836 MB / 1.184 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002229/2.047, allocations: 0.6757 MB / 1.184 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/2.047, allocations: 0 / 1.184 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/2.048, allocations: 379 kB / 1.185 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004825/2.053, allocations: 0.5082 MB / 1.185 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/2.071, allocations: 6.654 MB / 1.192 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/2.073, allocations: 1.116 MB / 1.193 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002146/2.075, allocations: 223.2 kB / 1.193 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/2.076, allocations: 359.3 kB / 1.193 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of SimCode: time 1.933e-06/2.076, allocations: 0 / 1.193 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/2.178, allocations: 25.02 MB / 1.218 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004343/2.179, allocations: 189 kB / 1.218 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.303/6.482, allocations: 7.938 kB / 1.218 GB, free: 2.23 MB / 0.9669 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