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.00109/0.00109, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 182.4 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 223.3 MB / 241 MB, free: 5.238 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.561/2.561, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 8.281 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8064/0.8067, allocations: 142.4 MB / 0.9557 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001628/0.8084, allocations: 1.172 MB / 0.9568 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.81, allocations: 0.9032 MB / 0.9577 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.81, allocations: 0 / 0.9577 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.8102, allocations: 9.859 kB / 0.9577 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.8107, allocations: 110 kB / 0.9578 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.8109, allocations: 77.14 kB / 0.9579 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.8111, allocations: 80.23 kB / 0.958 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.8111, allocations: 6.344 kB / 0.958 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.8112, allocations: 40.44 kB / 0.958 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.8114, allocations: 50.09 kB / 0.9581 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.8114, allocations: 2.125 kB / 0.9581 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.8117, allocations: 226 kB / 0.9583 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.857e-05/0.8118, allocations: 52.53 kB / 0.9584 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.216e-05/0.8119, allocations: 72.5 kB / 0.9584 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.8121, allocations: 171.1 kB / 0.9586 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.8122, allocations: 0 / 0.9586 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8122, allocations: 0 / 0.9586 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.8122, allocations: 0 / 0.9586 GB, free: 5.879 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.0005691/0.8127, allocations: 471.1 kB / 0.959 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.8128, allocations: 9.625 kB / 0.959 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.8128, allocations: 15.62 kB / 0.9591 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.8131, allocations: 260.2 kB / 0.9593 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.8131, allocations: 5.75 kB / 0.9593 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.8132, allocations: 6.875 kB / 0.9593 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.8134, allocations: 80.03 kB / 0.9594 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.8134, allocations: 0 / 0.9594 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.8134, allocations: 1.375 kB / 0.9594 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.8134, allocations: 0 / 0.9594 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.8136, allocations: 99.23 kB / 0.9595 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.8139, allocations: 225.8 kB / 0.9597 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.8142, allocations: 120.6 kB / 0.9598 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.8143, allocations: 59.7 kB / 0.9599 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.378e-05/0.8144, allocations: 19.66 kB / 0.9599 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.8144, allocations: 31.88 kB / 0.9599 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.973e-06/0.8144, allocations: 3.984 kB / 0.9599 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000461/0.8149, allocations: 187.7 kB / 0.9601 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.8149, allocations: 52.16 kB / 0.9602 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.8152, allocations: 291.8 kB / 0.9604 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.8152, allocations: 27.08 kB / 0.9605 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.8153, allocations: 120.4 kB / 0.9606 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.8153, allocations: 13.27 kB / 0.9606 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.8154, allocations: 9.719 kB / 0.9606 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.8154, allocations: 328.3 kB / 0.9609 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.8155, allocations: 40.97 kB / 0.961 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.8157, allocations: 71.66 kB / 0.961 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.8159, allocations: 97.8 kB / 0.9611 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.8159, allocations: 3.938 kB / 0.9611 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002776/0.8162, allocations: 147.1 kB / 0.9613 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.8162, allocations: 5.781 kB / 0.9613 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8162, allocations: 7.938 kB / 0.9613 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.8162, allocations: 1 kB / 0.9613 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.8163, allocations: 13.17 kB / 0.9613 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.8163, allocations: 0.9688 kB / 0.9613 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.715e-05/0.8164, allocations: 15.92 kB / 0.9613 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.8165, allocations: 0.9688 kB / 0.9613 GB, free: 3.738 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.839e-05/0.8165, allocations: 128.1 kB / 0.9614 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.8166, allocations: 19.03 kB / 0.9614 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.8169, allocations: 152.2 kB / 0.9616 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.8169, allocations: 1.062 kB / 0.9616 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8169, allocations: 0 / 0.9616 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.8169, allocations: 1.188 kB / 0.9616 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.8171, allocations: 218.4 kB / 0.9618 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8171, allocations: 0.8438 kB / 0.9618 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.916e-05/0.8172, allocations: 13.95 kB / 0.9618 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.8172, allocations: 4 kB / 0.9618 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.8172, allocations: 1.031 kB / 0.9618 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.8172, allocations: 1 kB / 0.9618 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8172, allocations: 0 / 0.9618 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.8175, allocations: 167.3 kB / 0.962 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.8176, allocations: 91.42 kB / 0.9621 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.8176, allocations: 5.047 kB / 0.9621 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.606e-05/0.8177, allocations: 10.53 kB / 0.9621 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.8177, allocations: 5.719 kB / 0.9621 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.8177, allocations: 0.7812 kB / 0.9621 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002039/0.8179, allocations: 226 kB / 0.9623 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.818, allocations: 1.062 kB / 0.9623 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003808/0.8183, allocations: 78.05 kB / 0.9624 GB, free: 2.914 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003045/0.8186, allocations: 159 kB / 0.9625 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003045/0.819, allocations: 95.58 kB / 0.9626 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.819, allocations: 4 kB / 0.9626 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.8191, allocations: 52.62 kB / 0.9627 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.8194, allocations: 13.81 kB / 0.9627 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.82, allocations: 338.8 kB / 0.963 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.8202, allocations: 0.7123 MB / 0.9637 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.8202, allocations: 16.53 kB / 0.9637 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8202, allocations: 5.344 kB / 0.9637 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of Templates: time 0.004613/0.8249, allocations: 2.133 MB / 0.9658 GB, free: 0.6953 MB / 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches