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.0009131/0.0009131, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001069/0.001069, allocations: 172.7 kB / 15.95 MB, free: 208 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.439/1.439, allocations: 223.2 MB / 240 MB, free: 5.461 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.37/2.37, allocations: 390.4 MB / 0.6655 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003524, allocations: 16 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7244/0.7247, allocations: 142.3 MB / 0.9538 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001459/0.7263, allocations: 1.154 MB / 0.955 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.7275, allocations: 0.8408 MB / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.7276, allocations: 3.938 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.7277, allocations: 6.172 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.7282, allocations: 110 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.7284, allocations: 81.61 kB / 0.956 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.7285, allocations: 62.25 kB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.7285, allocations: 2.062 kB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.33e-05/0.7286, allocations: 42.59 kB / 0.9561 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.7288, allocations: 51.61 kB / 0.9561 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.7288, allocations: 3.406 kB / 0.9561 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.7291, allocations: 211.9 kB / 0.9563 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/0.7292, allocations: 54.69 kB / 0.9564 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.7293, allocations: 42.98 kB / 0.9564 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.7295, allocations: 198 kB / 0.9566 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.7295, allocations: 0 / 0.9566 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7295, allocations: 1.188 kB / 0.9566 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.7295, allocations: 0 / 0.9566 GB, free: 6.141 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.0006148/0.7302, allocations: 488.7 kB / 0.9571 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.7302, allocations: 8.781 kB / 0.9571 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.7303, allocations: 36.06 kB / 0.9571 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.7303, allocations: 21.61 kB / 0.9572 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000603/0.7309, allocations: 0.637 MB / 0.9578 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.7309, allocations: 1.375 kB / 0.9578 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.731, allocations: 2.75 kB / 0.9578 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.7312, allocations: 79.98 kB / 0.9579 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.7312, allocations: 5.359 kB / 0.9579 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.7312, allocations: 0 / 0.9579 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.7312, allocations: 0 / 0.9579 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.7314, allocations: 95.27 kB / 0.958 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.7317, allocations: 326.5 kB / 0.9583 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.732, allocations: 116.5 kB / 0.9584 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.7321, allocations: 59.3 kB / 0.9584 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.321e-05/0.7322, allocations: 19.72 kB / 0.9584 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.7322, allocations: 31.81 kB / 0.9585 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.7322, allocations: 0 / 0.9585 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004338/0.7327, allocations: 189 kB / 0.9587 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.7327, allocations: 52.5 kB / 0.9587 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007343/0.7334, allocations: 0.7749 MB / 0.9595 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.7335, allocations: 29.64 kB / 0.9595 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.7335, allocations: 130.4 kB / 0.9596 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.7336, allocations: 13.12 kB / 0.9596 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.7336, allocations: 4 kB / 0.9596 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.7336, allocations: 328.8 kB / 0.9599 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.7337, allocations: 45.09 kB / 0.96 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.7339, allocations: 72.19 kB / 0.9601 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.734, allocations: 46.34 kB / 0.9601 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.734, allocations: 0 / 0.9601 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002352/0.7342, allocations: 140.4 kB / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.7343, allocations: 6.875 kB / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.7343, allocations: 0 / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.7343, allocations: 1.25 kB / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.7344, allocations: 14.27 kB / 0.9603 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.7344, allocations: 3.938 kB / 0.9603 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.7345, allocations: 14 kB / 0.9603 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.7345, allocations: 5.141 kB / 0.9603 GB, free: 3.66 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.199e-05/0.7346, allocations: 131.5 kB / 0.9604 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.7346, allocations: 23.7 kB / 0.9604 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.7349, allocations: 143.4 kB / 0.9606 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.7349, allocations: 4 kB / 0.9606 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7349, allocations: 1.25 kB / 0.9606 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7349, allocations: 3.984 kB / 0.9606 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.7351, allocations: 227.2 kB / 0.9608 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7351, allocations: 0.75 kB / 0.9608 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.7352, allocations: 18.17 kB / 0.9608 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7352, allocations: 0 / 0.9608 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.7352, allocations: 1.156 kB / 0.9608 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.7352, allocations: 3.938 kB / 0.9608 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7352, allocations: 0 / 0.9608 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.7355, allocations: 169 kB / 0.961 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.7356, allocations: 109.2 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.7356, allocations: 0.75 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.7357, allocations: 10.91 kB / 0.9611 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.7357, allocations: 6.375 kB / 0.9611 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.7357, allocations: 1.031 kB / 0.9611 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005717/0.7363, allocations: 0.6202 MB / 0.9617 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7363, allocations: 0 / 0.9617 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003919/0.7367, allocations: 72.8 kB / 0.9618 GB, free: 2.684 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.0005951/0.7373, allocations: 0.7617 MB / 0.9625 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.7375, allocations: 99.72 kB / 0.9626 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7376, allocations: 0 / 0.9626 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.7377, allocations: 49.19 kB / 0.9627 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.7379, allocations: 20.36 kB / 0.9627 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.7411, allocations: 2.483 MB / 0.9651 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.7413, allocations: 0.7206 MB / 0.9658 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.372e-05/0.7414, allocations: 28.69 kB / 0.9658 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.7415, allocations: 47.61 kB / 0.9659 GB, free: 80 kB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.7415, allocations: 0 / 0.9659 GB, free: 80 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.7578, allocations: 4.435 MB / 0.9702 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.758, allocations: 205.3 kB / 0.9704 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.526, allocations: 4 kB / 0.9704 GB, free: 13.8 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