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.001237/0.001237, allocations: 108 kB / 15.6 MB, free: 132 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.001155/0.001155, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.169/1.169, allocations: 222.9 MB / 240.2 MB, free: 4.402 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 2.026/2.026, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 59.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.4669, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001815/0.4688, allocations: 1.437 MB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009663/0.4698, allocations: 0.8926 MB / 0.952 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.4698, allocations: 0 / 0.952 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.4699, allocations: 5.453 kB / 0.952 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.4703, allocations: 142.3 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.4705, allocations: 103.6 kB / 0.9522 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.06e-05/0.4706, allocations: 65.84 kB / 0.9523 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.928e-05/0.4706, allocations: 6.562 kB / 0.9523 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.4707, allocations: 31.89 kB / 0.9523 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.4708, allocations: 51.5 kB / 0.9524 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.4708, allocations: 2.938 kB / 0.9524 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.4711, allocations: 228.9 kB / 0.9526 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.4711, allocations: 52.66 kB / 0.9527 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.4712, allocations: 62.67 kB / 0.9527 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.4715, allocations: 281.3 kB / 0.953 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4715, allocations: 3.938 kB / 0.953 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4715, allocations: 1.469 kB / 0.953 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.4715, allocations: 0 / 0.953 GB, free: 6.777 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.0004789/0.472, allocations: 0.4982 MB / 0.9535 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.472, allocations: 10 kB / 0.9535 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.883e-05/0.472, allocations: 30.75 kB / 0.9535 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.4721, allocations: 16.59 kB / 0.9535 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.4725, allocations: 0.6532 MB / 0.9542 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.4725, allocations: 5.469 kB / 0.9542 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.4725, allocations: 5.969 kB / 0.9542 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.4726, allocations: 71.8 kB / 0.9542 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.4727, allocations: 4 kB / 0.9542 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.4727, allocations: 5.141 kB / 0.9543 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.4727, allocations: 0 / 0.9543 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.4729, allocations: 80.81 kB / 0.9543 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.4731, allocations: 318.3 kB / 0.9546 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.4733, allocations: 120.6 kB / 0.9548 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.4734, allocations: 45.7 kB / 0.9548 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.4734, allocations: 23.83 kB / 0.9548 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.468e-06/0.4734, allocations: 32.25 kB / 0.9548 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.4734, allocations: 0 / 0.9548 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003328/0.4738, allocations: 171.2 kB / 0.955 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.467e-05/0.4738, allocations: 55.41 kB / 0.9551 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.4743, allocations: 0.7737 MB / 0.9558 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.4743, allocations: 29.7 kB / 0.9558 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.4743, allocations: 130.5 kB / 0.956 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.4744, allocations: 9.219 kB / 0.956 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.4744, allocations: 17.16 kB / 0.956 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.791e-05/0.4744, allocations: 328.6 kB / 0.9563 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.4745, allocations: 45.33 kB / 0.9564 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.4746, allocations: 62.66 kB / 0.9564 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.4748, allocations: 82.86 kB / 0.9565 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4748, allocations: 3.938 kB / 0.9565 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002143/0.475, allocations: 143.6 kB / 0.9566 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.475, allocations: 5.438 kB / 0.9566 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/0.4751, allocations: 0 / 0.9566 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.4751, allocations: 0 / 0.9566 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.4751, allocations: 11.67 kB / 0.9566 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.4751, allocations: 1.281 kB / 0.9567 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.063e-05/0.4752, allocations: 10.05 kB / 0.9567 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.4752, allocations: 1.062 kB / 0.9567 GB, free: 4.246 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 5.896e-05/0.4753, allocations: 139.8 kB / 0.9568 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.4753, allocations: 15.56 kB / 0.9568 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.4756, allocations: 137.2 kB / 0.9569 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4756, allocations: 0.75 kB / 0.9569 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4756, allocations: 0 / 0.9569 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4756, allocations: 1.031 kB / 0.9569 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.4757, allocations: 239.2 kB / 0.9572 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4757, allocations: 0 / 0.9572 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.4758, allocations: 11.5 kB / 0.9572 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.4758, allocations: 5 kB / 0.9572 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.4758, allocations: 0 / 0.9572 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.4758, allocations: 1.125 kB / 0.9572 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4758, allocations: 3.984 kB / 0.9572 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.476, allocations: 158.7 kB / 0.9573 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.4761, allocations: 110 kB / 0.9574 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.4761, allocations: 0 / 0.9574 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.4762, allocations: 9.297 kB / 0.9575 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.4762, allocations: 1.062 kB / 0.9575 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4762, allocations: 1.156 kB / 0.9575 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003902/0.4766, allocations: 0.614 MB / 0.9581 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.11e-07/0.4766, allocations: 0 / 0.9581 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002526/0.4769, allocations: 80.67 kB / 0.9581 GB, free: 3.266 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.0004678/0.4773, allocations: 0.7452 MB / 0.9589 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.4776, allocations: 90.52 kB / 0.9589 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4776, allocations: 1.125 kB / 0.9589 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.155e-05/0.4777, allocations: 47.41 kB / 0.959 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.4779, allocations: 15.78 kB / 0.959 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.4803, allocations: 3.301 MB / 0.9622 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.4804, allocations: 0.7317 MB / 0.9629 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.862e-05/0.4805, allocations: 23.59 kB / 0.963 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.4805, allocations: 48.08 kB / 0.963 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.4805, allocations: 0 / 0.963 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.756/3.237, allocations: 4.556 MB / 0.9675 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/11.41, allocations: 12.97 kB / 0.9675 GB, free: 13.71 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