Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.001859/0.001859, allocations: 99.55 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.002348/0.002348, allocations: 177.3 kB / 15.94 MB, free: 228 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.269/2.269, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.388/4.388, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006124/0.0006126, allocations: 8 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767/1.768, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.4241/2.192, allocations: 179.4 MB / 1.156 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04769/2.24, allocations: 18.01 MB / 1.174 GB, free: 348 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005067/2.245, allocations: 47.69 kB / 1.174 GB, free: 300 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.006744/2.252, allocations: 1.112 MB / 1.175 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.02006/2.272, allocations: 3.44 MB / 1.178 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.008633/2.281, allocations: 1.466 MB / 1.18 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01349/2.294, allocations: 3.965 MB / 1.183 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005756/2.3, allocations: 1.744 MB / 1.185 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008335/2.308, allocations: 1.827 MB / 1.187 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00639/2.315, allocations: 1.643 MB / 1.189 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.002052/2.317, allocations: 160 kB / 1.189 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01208/2.329, allocations: 1.685 MB / 1.19 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.004365/2.334, allocations: 1.142 MB / 1.191 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003369/2.337, allocations: 0.6407 MB / 1.192 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01231/2.349, allocations: 3.822 MB / 1.196 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/2.349, allocations: 0 / 1.196 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.757e-06/2.349, allocations: 0 / 1.196 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002159/2.35, allocations: 0 / 1.196 GB, free: 9.57 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.02089/2.371, allocations: 3.444 MB / 1.199 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 8.691e-05/2.371, allocations: 12.03 kB / 1.199 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003436/2.374, allocations: 383.8 kB / 1.2 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009873/2.384, allocations: 0.8353 MB / 1.2 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00921/2.393, allocations: 1.798 MB / 1.202 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004863/2.394, allocations: 213.3 kB / 1.202 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/2.396, allocations: 267.9 kB / 1.203 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/2.409, allocations: 3.236 MB / 1.206 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/2.409, allocations: 11.94 kB / 1.206 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005694/2.41, allocations: 112 kB / 1.206 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002578/2.41, allocations: 121.4 kB / 1.206 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01553/2.426, allocations: 4.604 MB / 1.21 GB, free: 10.37 MB / 0.9669 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.03855/2.464, allocations: 10.91 MB / 1.221 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/2.477, allocations: 4.836 MB / 1.226 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002233/2.48, allocations: 0.8681 MB / 1.227 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/2.48, allocations: 77.64 kB / 1.227 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=399): time 9.939e-06/2.48, allocations: 0 / 1.227 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=399): time 0.02077/2.501, allocations: 6.024 MB / 1.233 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/2.501, allocations: 98.53 kB / 1.233 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/2.504, allocations: 1.252 MB / 1.234 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/2.506, allocations: 93.64 kB / 1.234 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/2.507, allocations: 0.8173 MB / 1.235 GB, free: 396 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.003123/2.51, allocations: 1.328 MB / 1.236 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000314/2.51, allocations: 72 kB / 1.236 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000453/2.511, allocations: 437.1 kB / 1.237 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004297/2.515, allocations: 1.603 MB / 1.238 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004949/2.52, allocations: 1.882 MB / 1.24 GB, free: 11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005508/2.525, allocations: 1.898 MB / 1.242 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.49e-05/2.525, allocations: 4 kB / 1.242 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.0138/2.539, allocations: 4.175 MB / 1.246 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/2.539, allocations: 12.36 kB / 1.246 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/2.539, allocations: 4 kB / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.454e-05/2.54, allocations: 20 kB / 1.246 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005475/2.545, allocations: 0.6748 MB / 1.247 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002129/2.545, allocations: 20 kB / 1.247 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005752/2.551, allocations: 413 kB / 1.247 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/2.552, allocations: 112 kB / 1.247 GB, free: 3.648 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.003322/2.555, allocations: 0.7273 MB / 1.248 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/2.557, allocations: 245.1 kB / 1.248 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.326/3.883, allocations: 4.638 MB / 1.253 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000173/3.883, allocations: 37.34 kB / 1.253 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001111/3.883, allocations: 4.688 kB / 1.253 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02058/3.904, allocations: 3.958 MB / 1.257 GB, free: 261.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01824/3.922, allocations: 3.343 MB / 1.26 GB, free: 260.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001376/3.923, allocations: 0 / 1.26 GB, free: 260.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007385/3.93, allocations: 0.6614 MB / 1.261 GB, free: 260.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/3.932, allocations: 136.5 kB / 1.261 GB, free: 260.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001582/3.933, allocations: 87.23 kB / 1.261 GB, free: 260.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007324/3.941, allocations: 4.596 MB / 1.265 GB, free: 256 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/3.941, allocations: 0.5 kB / 1.265 GB, free: 256 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02767/3.968, allocations: 6.81 MB / 1.272 GB, free: 253.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004987/3.973, allocations: 0.7615 MB / 1.273 GB, free: 252.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001856/3.975, allocations: 71.8 kB / 1.273 GB, free: 252.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006146/3.982, allocations: 224.3 kB / 1.273 GB, free: 252.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001747/3.983, allocations: 225 kB / 1.273 GB, free: 252.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001139/3.985, allocations: 106.5 kB / 1.273 GB, free: 252.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002827/3.987, allocations: 0.884 MB / 1.274 GB, free: 252.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/3.987, allocations: 3.906 kB / 1.274 GB, free: 252.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007917/3.995, allocations: 1.085 MB / 1.275 GB, free: 252.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02131/4.017, allocations: 7.611 MB / 1.283 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01084/4.028, allocations: 4.035 MB / 1.286 GB, free: 242.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/4.028, allocations: 4 kB / 1.287 GB, free: 242.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007056/4.035, allocations: 2.556 MB / 1.289 GB, free: 239.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008402/4.043, allocations: 0.9781 MB / 1.29 GB, free: 238.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0268/4.07, allocations: 11 MB / 1.301 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/4.073, allocations: 1.993 MB / 1.303 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.007894/4.081, allocations: 1.222 MB / 1.304 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003779/4.085, allocations: 1.097 MB / 1.305 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of SimCode: time 3.607e-06/4.085, allocations: 0 / 1.305 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1429/4.228, allocations: 65.83 MB / 1.369 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/4.228, allocations: 202.4 kB / 1.369 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/11.33, allocations: 0 / 1.369 GB, free: 158.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat does not exist to compare? outputFormat=mat