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.008493/0.008493, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002424/0.002424, allocations: 198.7 kB / 16.68 MB, free: 5.926 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.329/2.329, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.694/3.694, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 67.89 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9322/0.9337, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.004351/0.9381, allocations: 1.449 MB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.9403, allocations: 0.885 MB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.584e-05/0.9405, allocations: 0 / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.9407, allocations: 12.83 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009493/0.9417, allocations: 132.3 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.9422, allocations: 109 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.9423, allocations: 65 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.96e-05/0.9424, allocations: 3.281 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.9426, allocations: 31.28 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.9427, allocations: 44.17 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.9428, allocations: 3.812 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005875/0.9434, allocations: 240.2 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.9435, allocations: 52.17 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.126e-05/0.9436, allocations: 64.38 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006262/0.9442, allocations: 274.9 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.9442, allocations: 4 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9442, allocations: 0.75 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.9443, allocations: 0.7031 kB / 1.091 GB, free: 3.336 MB / 0.8575 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.0009179/0.9452, allocations: 0.4973 MB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.9452, allocations: 9.969 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.9453, allocations: 36.27 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.928e-05/0.9454, allocations: 20.75 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008377/0.9462, allocations: 0.6543 MB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.9462, allocations: 9.188 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.9463, allocations: 2.531 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.9465, allocations: 75.56 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.9465, allocations: 0 / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.9465, allocations: 0 / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.9465, allocations: 1.062 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.9468, allocations: 82.39 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.9473, allocations: 318.5 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.9476, allocations: 124.4 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.9477, allocations: 43.58 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.036e-05/0.9478, allocations: 18.92 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.9478, allocations: 36.62 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.9478, allocations: 0 / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005442/0.9484, allocations: 169.3 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.9484, allocations: 56.91 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.9495, allocations: 0.7733 MB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.9496, allocations: 26.58 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.9496, allocations: 131.2 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.9497, allocations: 5.719 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.9497, allocations: 18.34 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.779e-05/0.9498, allocations: 331.7 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.95, allocations: 36.09 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.9501, allocations: 61.36 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.9504, allocations: 91.56 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.9504, allocations: 5.125 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003349/0.9507, allocations: 133.3 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.9507, allocations: 5.734 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9508, allocations: 1.062 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.9508, allocations: 0 / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.9509, allocations: 14.47 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9509, allocations: 1.406 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.951, allocations: 9.469 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.951, allocations: 0.6562 kB / 1.094 GB, free: 1.16 MB / 0.8575 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.0001151/0.9512, allocations: 135.6 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.9512, allocations: 20.03 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.9516, allocations: 144.8 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.9516, allocations: 1.125 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9516, allocations: 0 / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.9516, allocations: 5.641 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.9518, allocations: 230.2 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.9518, allocations: 0 / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.9519, allocations: 14.66 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.9519, allocations: 0.5 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.9519, allocations: 0.8125 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.9519, allocations: 6.031 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9519, allocations: 0 / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.9522, allocations: 157.9 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.9523, allocations: 103.7 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.9524, allocations: 1.844 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.9524, allocations: 6.422 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.9525, allocations: 2.766 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.9525, allocations: 5.125 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006804/0.9532, allocations: 0.6241 MB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9532, allocations: 0 / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004982/0.9537, allocations: 71.52 kB / 1.096 GB, free: 340 kB / 0.8575 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.0009301/0.9546, allocations: 0.7482 MB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.955, allocations: 92.86 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.955, allocations: 3.938 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.9551, allocations: 44.77 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.9555, allocations: 18.02 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.9603, allocations: 3.304 MB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.9607, allocations: 0.7231 MB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.9609, allocations: 28.92 kB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.961, allocations: 48.98 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of SimCode: time 8.71e-07/0.961, allocations: 0 / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.9924, allocations: 4.661 MB / 1.105 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.61, allocations: 9.219 kB / 1.105 GB, free: 12.81 MB / 0.8731 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