Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_10_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.001213/0.001213, 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.001221/0.001221, allocations: 196.7 kB / 16.54 MB, free: 6.672 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.2/1.2, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.25/2.25, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4874, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002352/0.4898, allocations: 1.445 MB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.4911, allocations: 0.8929 MB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/0.4911, allocations: 0 / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.4913, allocations: 7.938 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.4917, allocations: 131.6 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.492, allocations: 103.8 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.001e-05/0.4921, allocations: 67.75 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.4921, allocations: 8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.4922, allocations: 39.89 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.657e-05/0.4923, allocations: 43.7 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.4923, allocations: 4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/0.4927, allocations: 231.7 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.4928, allocations: 55.88 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.573e-05/0.4928, allocations: 67.45 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.4932, allocations: 277.5 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.4932, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4932, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.4932, allocations: 4 kB / 1.021 GB, free: 15.11 MB / 0.7794 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.0006/0.4938, allocations: 0.496 MB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.4938, allocations: 12.03 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.568e-05/0.4939, allocations: 30.75 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.4939, allocations: 20.66 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.4944, allocations: 0.6472 MB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.4945, allocations: 384 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.4945, allocations: 7.938 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.4946, allocations: 77.59 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.4947, allocations: 4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.4947, allocations: 3.984 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.4947, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.4949, allocations: 75.94 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002728/0.4952, allocations: 321.6 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.4954, allocations: 122.4 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.4955, allocations: 48.89 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.4955, allocations: 19.92 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.4956, allocations: 30.56 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4956, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003801/0.496, allocations: 169.4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.496, allocations: 55.41 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.4966, allocations: 0.7742 MB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.4966, allocations: 25.7 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.4967, allocations: 128.1 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.4967, allocations: 15.81 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.4968, allocations: 13.72 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4969, allocations: 330.8 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.497, allocations: 47.97 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.4971, allocations: 66.42 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.4973, allocations: 84.8 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4973, allocations: 3.984 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002445/0.4976, allocations: 133.4 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.4976, allocations: 8 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.4976, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.4976, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.4977, allocations: 11.98 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.4977, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.4978, allocations: 15.92 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.4978, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 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.929e-05/0.4979, allocations: 133.8 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.4979, allocations: 15.81 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.4982, allocations: 142.8 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4982, allocations: 0 / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4982, allocations: 0 / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4982, allocations: 384 / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.4984, allocations: 233.5 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4984, allocations: 0 / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.4985, allocations: 8 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4985, allocations: 7.984 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.4985, allocations: 4 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4985, allocations: 3.938 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4985, allocations: 7.922 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.4988, allocations: 160.7 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.4988, allocations: 96.91 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.4989, allocations: 4 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.4989, allocations: 11.98 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.499, allocations: 4 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.499, allocations: 0 / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004655/0.4995, allocations: 0.6174 MB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4995, allocations: 0 / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002689/0.4997, allocations: 68 kB / 1.026 GB, free: 9.504 MB / 0.7794 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.000623/0.5004, allocations: 0.7488 MB / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.5006, allocations: 91.92 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5006, allocations: 0 / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.5007, allocations: 47.91 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.5009, allocations: 20.44 kB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.5039, allocations: 3.296 MB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.5041, allocations: 0.724 MB / 1.031 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.185e-05/0.5042, allocations: 24.64 kB / 1.031 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.5043, allocations: 51.42 kB / 1.031 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5043, allocations: 0 / 1.031 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.794/2.299, allocations: 4.548 MB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/15.67, allocations: 7.453 kB / 1.035 GB, free: 15.95 MB / 0.795 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches