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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001577/0.001576, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001393/0.001393, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.438/2.438, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.252/4.252, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002854/0.002855, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196/1.199, allocations: 140.4 MB / 0.9492 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.004068/1.204, allocations: 1.509 MB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001586/1.205, allocations: 0.8925 MB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/1.205, allocations: 0 / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/1.205, allocations: 5.25 kB / 0.9516 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006001/1.206, allocations: 129.1 kB / 0.9517 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/1.206, allocations: 83.12 kB / 0.9518 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/1.206, allocations: 63.8 kB / 0.9518 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.593e-05/1.207, allocations: 10.64 kB / 0.9519 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/1.207, allocations: 36.69 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/1.207, allocations: 53.2 kB / 0.9519 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/1.207, allocations: 4.5 kB / 0.9519 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/1.207, allocations: 236.6 kB / 0.9522 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/1.207, allocations: 52.78 kB / 0.9522 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.272e-05/1.208, allocations: 61.86 kB / 0.9523 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004567/1.208, allocations: 277.3 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.208, allocations: 0 / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.765e-06/1.208, allocations: 1.25 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.316e-06/1.208, allocations: 0 / 0.9525 GB, free: 6.641 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.000933/1.209, allocations: 0.5043 MB / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 8.192e-05/1.209, allocations: 9.406 kB / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/1.209, allocations: 31.94 kB / 0.9531 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/1.209, allocations: 17.62 kB / 0.9531 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/1.21, allocations: 0.6473 MB / 0.9537 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/1.21, allocations: 1.656 kB / 0.9537 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/1.21, allocations: 10.53 kB / 0.9537 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/1.211, allocations: 72.53 kB / 0.9538 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/1.211, allocations: 0 / 0.9538 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/1.211, allocations: 8 kB / 0.9538 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/1.211, allocations: 0 / 0.9538 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/1.211, allocations: 81.89 kB / 0.9539 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/1.212, allocations: 318.4 kB / 0.9542 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/1.212, allocations: 115.9 kB / 0.9543 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/1.213, allocations: 54.89 kB / 0.9544 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/1.213, allocations: 19.31 kB / 0.9544 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.213, allocations: 31.75 kB / 0.9544 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/1.213, allocations: 0 / 0.9544 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0009342/1.214, allocations: 166.8 kB / 0.9546 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/1.214, allocations: 56.72 kB / 0.9546 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/1.215, allocations: 0.7724 MB / 0.9554 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/1.215, allocations: 29.64 kB / 0.9554 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/1.216, allocations: 131.1 kB / 0.9555 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/1.216, allocations: 5.281 kB / 0.9555 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/1.216, allocations: 20.45 kB / 0.9556 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.942e-05/1.216, allocations: 329.7 kB / 0.9559 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/1.216, allocations: 44.78 kB / 0.9559 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/1.216, allocations: 62.16 kB / 0.956 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/1.216, allocations: 84.2 kB / 0.956 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.216, allocations: 0 / 0.956 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004204/1.217, allocations: 142.4 kB / 0.9562 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/1.217, allocations: 10.94 kB / 0.9562 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.217, allocations: 1.375 kB / 0.9562 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/1.217, allocations: 0 / 0.9562 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/1.217, allocations: 15.58 kB / 0.9562 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/1.217, allocations: 3.938 kB / 0.9562 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/1.217, allocations: 12.53 kB / 0.9562 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/1.217, allocations: 1.031 kB / 0.9562 GB, free: 4.102 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 0.0001276/1.217, allocations: 132 kB / 0.9564 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/1.217, allocations: 23.95 kB / 0.9564 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/1.218, allocations: 129.3 kB / 0.9565 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.218, allocations: 0 / 0.9565 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.218, allocations: 5.141 kB / 0.9565 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.218, allocations: 0 / 0.9565 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/1.218, allocations: 231 kB / 0.9567 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.218, allocations: 5.125 kB / 0.9567 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.624e-05/1.218, allocations: 11.02 kB / 0.9567 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.218, allocations: 9.031 kB / 0.9567 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/1.218, allocations: 0 / 0.9567 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.218, allocations: 1.062 kB / 0.9567 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.218, allocations: 0 / 0.9567 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/1.219, allocations: 158.6 kB / 0.9569 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/1.219, allocations: 101.6 kB / 0.957 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/1.219, allocations: 9.094 kB / 0.957 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/1.219, allocations: 3.875 kB / 0.957 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/1.219, allocations: 5.609 kB / 0.957 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/1.219, allocations: 1.812 kB / 0.957 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001063/1.22, allocations: 0.618 MB / 0.9576 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.5e-07/1.22, allocations: 0 / 0.9576 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008588/1.221, allocations: 72.2 kB / 0.9577 GB, free: 3.133 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.001581/1.223, allocations: 0.7531 MB / 0.9584 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005544/1.223, allocations: 82.78 kB / 0.9585 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.223, allocations: 0 / 0.9585 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/1.224, allocations: 56.08 kB / 0.9586 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/1.224, allocations: 13.95 kB / 0.9586 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005892/1.23, allocations: 3.314 MB / 0.9618 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/1.23, allocations: 0.7234 MB / 0.9625 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001466/1.231, allocations: 31.42 kB / 0.9625 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/1.231, allocations: 52.3 kB / 0.9626 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of SimCode: time 1.262e-06/1.231, allocations: 3.938 kB / 0.9626 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/1.254, allocations: 4.416 MB / 0.9669 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/1.254, allocations: 215.9 kB / 0.9671 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.411/4.665, allocations: 4.953 kB / 0.9671 GB, free: 13.45 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/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) 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