Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.001005/0.001005, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001099/0.0011, allocations: 172.7 kB / 15.95 MB, free: 192 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.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.444/2.444, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 12 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7046/0.705, allocations: 146.8 MB / 0.9811 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.2839/0.9889, allocations: 269.6 MB / 1.244 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.733/1.722, allocations: 15.96 MB / 1.26 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004099/1.726, allocations: 67.94 kB / 1.26 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005126/1.731, allocations: 1.234 MB / 1.261 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01669/1.748, allocations: 4.692 MB / 1.266 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008114/1.756, allocations: 2.019 MB / 1.268 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01431/1.77, allocations: 9.366 MB / 1.277 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004418/1.775, allocations: 1.924 MB / 1.279 GB, free: 26.67 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006118/1.781, allocations: 2.396 MB / 1.281 GB, free: 26.67 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005196/1.786, allocations: 2.622 MB / 1.284 GB, free: 26.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001063/1.787, allocations: 156.4 kB / 1.284 GB, free: 26.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/1.798, allocations: 3.053 MB / 1.287 GB, free: 26.59 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002571/1.801, allocations: 1.154 MB / 1.288 GB, free: 26.59 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002481/1.803, allocations: 0.6659 MB / 1.289 GB, free: 26.56 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008932/1.812, allocations: 4.521 MB / 1.293 GB, free: 26.21 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.812, allocations: 4 kB / 1.293 GB, free: 26.2 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.966e-06/1.812, allocations: 0 / 1.293 GB, free: 26.2 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002388/1.813, allocations: 1.969 kB / 1.293 GB, free: 26.2 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01137/1.824, allocations: 3.584 MB / 1.297 GB, free: 24.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.824, allocations: 8.812 kB / 1.297 GB, free: 24.61 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001283/1.825, allocations: 372.6 kB / 1.297 GB, free: 24.56 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006928/1.832, allocations: 0.9128 MB / 1.298 GB, free: 24.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004521/1.837, allocations: 1.79 MB / 1.3 GB, free: 23.92 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/1.837, allocations: 193.3 kB / 1.3 GB, free: 23.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008248/1.838, allocations: 259.4 kB / 1.3 GB, free: 23.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007175/1.845, allocations: 3.315 MB / 1.303 GB, free: 23.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.778e-05/1.845, allocations: 0 / 1.303 GB, free: 23.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000436/1.846, allocations: 116.9 kB / 1.303 GB, free: 23.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/1.846, allocations: 135.7 kB / 1.303 GB, free: 23.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006305/1.852, allocations: 3.481 MB / 1.307 GB, free: 23.57 MB / 1.014 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.01625/1.868, allocations: 12.1 MB / 1.319 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/1.873, allocations: 3.498 MB / 1.322 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/1.876, allocations: 1.795 MB / 1.324 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/1.877, allocations: 1.5 MB / 1.325 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/1.877, allocations: 68.53 kB / 1.325 GB, free: 15.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 4.278e-06/1.877, allocations: 4 kB / 1.325 GB, free: 15.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.006317/1.884, allocations: 3.863 MB / 1.329 GB, free: 15.01 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/1.884, allocations: 84.27 kB / 1.329 GB, free: 14.94 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/1.886, allocations: 1.36 MB / 1.331 GB, free: 14.78 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001856/1.886, allocations: 75.45 kB / 1.331 GB, free: 14.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/1.886, allocations: 0.983 MB / 1.332 GB, free: 14.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007494/1.887, allocations: 0.947 MB / 1.333 GB, free: 13.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/1.887, allocations: 48.33 kB / 1.333 GB, free: 13.74 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.888, allocations: 400.8 kB / 1.333 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/1.889, allocations: 1.089 MB / 1.334 GB, free: 13.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/1.891, allocations: 1.349 MB / 1.335 GB, free: 13.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/1.893, allocations: 1.28 MB / 1.337 GB, free: 13.06 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.893, allocations: 0 / 1.337 GB, free: 13.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004452/1.897, allocations: 2.954 MB / 1.339 GB, free: 12.55 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.897, allocations: 6.656 kB / 1.339 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.897, allocations: 4.75 kB / 1.339 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.515e-05/1.898, allocations: 16.81 kB / 1.34 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/1.9, allocations: 0.512 MB / 1.34 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.443e-05/1.9, allocations: 20.86 kB / 1.34 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/1.902, allocations: 375.8 kB / 1.34 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/1.902, allocations: 88.52 kB / 1.34 GB, free: 12.3 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001262/1.904, allocations: 0.6504 MB / 1.341 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005489/1.904, allocations: 227.9 kB / 1.341 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004824/1.909, allocations: 3.109 MB / 1.344 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/1.909, allocations: 35.64 kB / 1.344 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.909, allocations: 4 kB / 1.344 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003552/1.913, allocations: 2.642 MB / 1.347 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009532/1.922, allocations: 6.199 MB / 1.353 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.922, allocations: 3.219 kB / 1.353 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/1.925, allocations: 0.545 MB / 1.354 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-05/1.925, allocations: 11.34 kB / 1.354 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002335/1.925, allocations: 57.58 kB / 1.354 GB, free: 9.102 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.758e-05/1.925, allocations: 11.66 kB / 1.354 GB, free: 9.102 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.925, allocations: 3.953 kB / 1.354 GB, free: 9.098 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006748/1.932, allocations: 4.558 MB / 1.358 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/1.933, allocations: 0.6091 MB / 1.359 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005466/1.934, allocations: 49.59 kB / 1.359 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002457/1.937, allocations: 222.4 kB / 1.359 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/1.937, allocations: 166.3 kB / 1.359 GB, free: 7.738 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/1.937, allocations: 84.31 kB / 1.359 GB, free: 7.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001477/1.939, allocations: 0.9324 MB / 1.36 GB, free: 7.473 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.939, allocations: 0 / 1.36 GB, free: 7.473 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002578/1.941, allocations: 0.9842 MB / 1.361 GB, free: 7.352 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (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,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.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 (278): * Single equations (assignments): 278 * 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.007172/1.948, allocations: 5.372 MB / 1.366 GB, free: 5.895 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004379/1.953, allocations: 2.747 MB / 1.369 GB, free: 4.039 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.953, allocations: 256 / 1.369 GB, free: 4.039 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/1.955, allocations: 1.506 MB / 1.37 GB, free: 3.043 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006386/1.961, allocations: 1.293 MB / 1.372 GB, free: 2.004 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03179/1.993, allocations: 17.5 MB / 1.389 GB, free: 2.762 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001901/1.995, allocations: 1.901 MB / 1.391 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003732/1.999, allocations: 0.8436 MB / 1.391 GB, free: 68 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/2.001, allocations: 1.088 MB / 1.393 GB, free: 15.8 MB / 1.045 GB Notification: Performance of SimCode: time 9.02e-07/2.001, allocations: 0 / 1.393 GB, free: 15.8 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/2.105, allocations: 67.74 MB / 1.459 GB, free: 12.91 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/2.105, allocations: 202.5 kB / 1.459 GB, free: 12.67 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.583/5.688, allocations: 0 / 1.459 GB, free: 12.67 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat does not exist to compare? outputFormat=mat