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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CpAct",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CpAct",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 99.7 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.001598/0.001598, 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 1.336/1.336, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6155/0.6158, allocations: 142.3 MB / 0.9535 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001369/0.6173, allocations: 1.145 MB / 0.9546 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.6184, allocations: 0.8281 MB / 0.9554 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.6185, allocations: 5.25 kB / 0.9554 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.6186, allocations: 14.55 kB / 0.9555 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004088/0.619, allocations: 101.3 kB / 0.9555 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.6192, allocations: 75.94 kB / 0.9556 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.604e-05/0.6193, allocations: 37.92 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.6193, allocations: 10.36 kB / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.6194, allocations: 30.78 kB / 0.9557 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.6196, allocations: 46.58 kB / 0.9557 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.6196, allocations: 3.344 kB / 0.9557 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.6199, allocations: 185.5 kB / 0.9559 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.903e-05/0.6199, allocations: 59.06 kB / 0.956 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.62, allocations: 43.2 kB / 0.956 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.6202, allocations: 194 kB / 0.9562 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.6202, allocations: 4 kB / 0.9562 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6202, allocations: 0 / 0.9562 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6202, allocations: 0 / 0.9562 GB, free: 6.102 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.0005698/0.6208, allocations: 490.4 kB / 0.9567 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.6209, allocations: 8.969 kB / 0.9567 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.6209, allocations: 20.08 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007264/0.6217, allocations: 0.6392 MB / 0.9573 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.6217, allocations: 4.969 kB / 0.9573 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.6217, allocations: 2 kB / 0.9573 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.6219, allocations: 81.2 kB / 0.9574 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.6219, allocations: 0 / 0.9574 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.6219, allocations: 0 / 0.9574 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.622, allocations: 1.688 kB / 0.9574 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.6222, allocations: 94.39 kB / 0.9575 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.6225, allocations: 326.4 kB / 0.9578 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.6227, allocations: 127.7 kB / 0.9579 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.6228, allocations: 16.31 kB / 0.9579 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.6228, allocations: 36.02 kB / 0.958 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.6228, allocations: 0 / 0.958 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004089/0.6232, allocations: 184.7 kB / 0.9582 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.6232, allocations: 52.78 kB / 0.9582 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006827/0.6239, allocations: 0.7749 MB / 0.959 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.6239, allocations: 33.69 kB / 0.959 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.624, allocations: 125.9 kB / 0.9591 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.624, allocations: 5.781 kB / 0.9591 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.624, allocations: 4 kB / 0.9591 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.6241, allocations: 336.9 kB / 0.9594 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.6242, allocations: 44.88 kB / 0.9595 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.6244, allocations: 64.42 kB / 0.9596 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.6245, allocations: 45.25 kB / 0.9596 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6245, allocations: 1.125 kB / 0.9596 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002787/0.6248, allocations: 148.3 kB / 0.9597 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6248, allocations: 4.531 kB / 0.9597 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6248, allocations: 0.7812 kB / 0.9597 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6248, allocations: 1.031 kB / 0.9597 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.534e-05/0.6249, allocations: 16.92 kB / 0.9598 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6249, allocations: 1 kB / 0.9598 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.625, allocations: 12.67 kB / 0.9598 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.6251, allocations: 4.969 kB / 0.9598 GB, free: 3.684 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 7.795e-05/0.6251, allocations: 132.8 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.6252, allocations: 18.5 kB / 0.9599 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.6255, allocations: 155.2 kB / 0.9601 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6255, allocations: 1.125 kB / 0.9601 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6255, allocations: 0 / 0.9601 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.6255, allocations: 0 / 0.9601 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.6257, allocations: 231.5 kB / 0.9603 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6257, allocations: 0.9062 kB / 0.9603 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.6257, allocations: 13.84 kB / 0.9603 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.6257, allocations: 1 kB / 0.9603 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.6258, allocations: 4 kB / 0.9603 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6258, allocations: 0.9688 kB / 0.9603 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6258, allocations: 7.984 kB / 0.9603 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.626, allocations: 165.5 kB / 0.9605 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.6261, allocations: 101.2 kB / 0.9606 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.6262, allocations: 4 kB / 0.9606 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.6262, allocations: 15.27 kB / 0.9606 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.6263, allocations: 5.938 kB / 0.9606 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.6263, allocations: 0.8438 kB / 0.9606 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005792/0.6269, allocations: 0.6159 MB / 0.9612 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6269, allocations: 0 / 0.9612 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003556/0.6272, allocations: 73.44 kB / 0.9613 GB, free: 2.707 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.0002753/0.6275, allocations: 162.9 kB / 0.9614 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.6278, allocations: 94.75 kB / 0.9615 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6278, allocations: 1.438 kB / 0.9615 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.628, allocations: 55.64 kB / 0.9616 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.6281, allocations: 16.77 kB / 0.9616 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.6286, allocations: 334.4 kB / 0.9619 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.6288, allocations: 0.7329 MB / 0.9626 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.886e-05/0.6289, allocations: 28.28 kB / 0.9626 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.6289, allocations: 15.59 kB / 0.9627 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6289, allocations: 0 / 0.9627 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of Templates: time 0.005241/0.6342, allocations: 2.482 MB / 0.9651 GB, free: 352 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile (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 & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches