Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",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.0009704/0.0009704, allocations: 99.62 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.0009933/0.0009933, 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 1.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.000498, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7182/0.7187, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001387/0.7202, allocations: 1.15 MB / 0.9547 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.7214, allocations: 0.8241 MB / 0.9555 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.7214, allocations: 4 kB / 0.9555 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.7216, allocations: 10.81 kB / 0.9555 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004373/0.722, allocations: 94.23 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.7222, allocations: 79.05 kB / 0.9557 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.115e-05/0.7223, allocations: 38.72 kB / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.7223, allocations: 5.531 kB / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.326e-05/0.7224, allocations: 36.11 kB / 0.9558 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.7226, allocations: 41.72 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.7226, allocations: 2.812 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.7229, allocations: 195 kB / 0.956 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.873e-05/0.723, allocations: 53.84 kB / 0.9561 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.723, allocations: 46.83 kB / 0.9561 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.7233, allocations: 198.9 kB / 0.9563 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.7233, allocations: 0 / 0.9563 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7233, allocations: 0 / 0.9563 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.7233, allocations: 0 / 0.9563 GB, free: 6.109 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000583/0.7239, allocations: 484.7 kB / 0.9568 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.7239, allocations: 9.875 kB / 0.9568 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.724, allocations: 30.56 kB / 0.9568 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.724, allocations: 27.56 kB / 0.9568 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.7246, allocations: 0.64 MB / 0.9574 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.7246, allocations: 1.062 kB / 0.9574 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.7247, allocations: 6.719 kB / 0.9575 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.7248, allocations: 72.69 kB / 0.9575 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7249, allocations: 3.938 kB / 0.9575 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.7249, allocations: 4 kB / 0.9575 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.7249, allocations: 1.125 kB / 0.9575 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.7251, allocations: 94.48 kB / 0.9576 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.7254, allocations: 322.3 kB / 0.9579 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.7256, allocations: 121 kB / 0.958 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.7257, allocations: 15.08 kB / 0.9581 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.7257, allocations: 35.94 kB / 0.9581 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.7257, allocations: 7.875 kB / 0.9581 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004434/0.7262, allocations: 194 kB / 0.9583 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.7262, allocations: 51.41 kB / 0.9583 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007361/0.7269, allocations: 0.7707 MB / 0.9591 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.727, allocations: 26.67 kB / 0.9591 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.727, allocations: 130 kB / 0.9592 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.7271, allocations: 9.875 kB / 0.9592 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.7271, allocations: 0 / 0.9592 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.7271, allocations: 332.2 kB / 0.9596 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.7273, allocations: 49.7 kB / 0.9596 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.7274, allocations: 67.92 kB / 0.9597 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.7275, allocations: 49.75 kB / 0.9597 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7275, allocations: 0 / 0.9597 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002645/0.7278, allocations: 144.5 kB / 0.9599 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.7278, allocations: 5.906 kB / 0.9599 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.7278, allocations: 0 / 0.9599 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7278, allocations: 0 / 0.9599 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.7279, allocations: 14.7 kB / 0.9599 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.7279, allocations: 0 / 0.9599 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.728, allocations: 16.77 kB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.7281, allocations: 1.156 kB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 8.141e-05/0.7281, allocations: 135.9 kB / 0.96 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.7282, allocations: 19.41 kB / 0.96 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.7285, allocations: 150.8 kB / 0.9602 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7285, allocations: 0.875 kB / 0.9602 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7285, allocations: 0 / 0.9602 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7285, allocations: 0.9062 kB / 0.9602 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.7287, allocations: 231.7 kB / 0.9604 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7287, allocations: 0 / 0.9604 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.636e-05/0.7287, allocations: 14.17 kB / 0.9604 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7287, allocations: 0 / 0.9604 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.7288, allocations: 1.031 kB / 0.9604 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7288, allocations: 4 kB / 0.9604 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7288, allocations: 1.188 kB / 0.9604 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.729, allocations: 168.8 kB / 0.9606 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.7291, allocations: 108.4 kB / 0.9607 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.7291, allocations: 5.094 kB / 0.9607 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.7292, allocations: 10.48 kB / 0.9607 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.7293, allocations: 6.531 kB / 0.9607 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.7293, allocations: 1.281 kB / 0.9607 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005223/0.7298, allocations: 0.6185 MB / 0.9613 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7298, allocations: 0 / 0.9613 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003831/0.7302, allocations: 73.89 kB / 0.9614 GB, free: 2.672 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0005937/0.7308, allocations: 0.7667 MB / 0.9621 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.7311, allocations: 95.98 kB / 0.9622 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7311, allocations: 0 / 0.9622 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.7312, allocations: 55.94 kB / 0.9623 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.7314, allocations: 20.19 kB / 0.9623 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.7343, allocations: 2.455 MB / 0.9647 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.7345, allocations: 0.7337 MB / 0.9654 GB, free: 124 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.82e-05/0.7346, allocations: 23.61 kB / 0.9654 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.7347, allocations: 47.61 kB / 0.9655 GB, free: 72 kB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.7347, allocations: 0 / 0.9655 GB, free: 72 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.7509, allocations: 4.395 MB / 0.9698 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.7511, allocations: 207.8 kB / 0.97 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.512, allocations: 8.625 kB / 0.97 GB, free: 13.81 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat does not exist to compare? outputFormat=mat