Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_latest_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.000685/0.000685, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.00405/0.00405, allocations: 169.9 kB / 16.27 MB, free: 6.324 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.181/1.181, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.292/2.292, allocations: 443.3 MB / 0.7176 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002945, allocations: 12.33 kB / 0.8797 GB, free: 41.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2224, allocations: 155.2 MB / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001289/0.2237, allocations: 1.176 MB / 1.032 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2249, allocations: 0.9169 MB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.2249, allocations: 0 / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.225, allocations: 11.92 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.2254, allocations: 106.9 kB / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.2256, allocations: 79.83 kB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.799e-05/0.2257, allocations: 79.75 kB / 1.034 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.2257, allocations: 4 kB / 1.034 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.2258, allocations: 39.83 kB / 1.034 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.2259, allocations: 47.89 kB / 1.034 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.2259, allocations: 8 kB / 1.034 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.2262, allocations: 219.7 kB / 1.034 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.2263, allocations: 55.81 kB / 1.034 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.2264, allocations: 85.3 kB / 1.034 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.2267, allocations: 275.4 kB / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2267, allocations: 0 / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2267, allocations: 0 / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.2267, allocations: 4 kB / 1.034 GB, free: 1.172 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.0005327/0.2272, allocations: 482.6 kB / 1.035 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.2273, allocations: 8.031 kB / 1.035 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.584e-05/0.2273, allocations: 30.75 kB / 1.035 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.2273, allocations: 20.66 kB / 1.035 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.2278, allocations: 0.655 MB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.2279, allocations: 384 / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2279, allocations: 7.875 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.228, allocations: 81.66 kB / 1.036 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-06/0.2281, allocations: 3.938 kB / 1.036 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.2281, allocations: 0 / 1.036 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2281, allocations: 4 kB / 1.036 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.2283, allocations: 83.94 kB / 1.036 GB, free: 15.71 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002559/0.2285, allocations: 321.6 kB / 1.036 GB, free: 15.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.2288, allocations: 126.5 kB / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.2289, allocations: 56.88 kB / 1.036 GB, free: 15.15 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.2289, allocations: 12 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.229, allocations: 42.48 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.229, allocations: 0 / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0003819/0.2294, allocations: 181.4 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.2294, allocations: 55.34 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.23, allocations: 0.7781 MB / 1.037 GB, free: 14.05 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.23, allocations: 25.7 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.2301, allocations: 124.1 kB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.2301, allocations: 15.75 kB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.2301, allocations: 9.719 kB / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.2302, allocations: 334.8 kB / 1.038 GB, free: 13.53 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.2303, allocations: 47.97 kB / 1.038 GB, free: 13.48 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.2305, allocations: 62.55 kB / 1.038 GB, free: 13.41 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.2307, allocations: 109 kB / 1.038 GB, free: 13.3 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2307, allocations: 0 / 1.038 GB, free: 13.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002528/0.2309, allocations: 145.4 kB / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.231, allocations: 4 kB / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.231, allocations: 0 / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.231, allocations: 4 kB / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.688e-05/0.231, allocations: 11.98 kB / 1.038 GB, free: 13.13 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.2311, allocations: 0 / 1.038 GB, free: 13.13 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.726e-05/0.2312, allocations: 15.98 kB / 1.038 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2312, allocations: 4 kB / 1.038 GB, free: 13.11 MB / 0.795 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.453e-05/0.2313, allocations: 139.2 kB / 1.038 GB, free: 12.97 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.2313, allocations: 15.81 kB / 1.038 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.2316, allocations: 150.9 kB / 1.038 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2316, allocations: 0 / 1.038 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2316, allocations: 7.938 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2316, allocations: 4 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2318, allocations: 233.5 kB / 1.039 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2318, allocations: 0 / 1.039 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.2318, allocations: 19.98 kB / 1.039 GB, free: 12.49 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2318, allocations: 0 / 1.039 GB, free: 12.49 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.2318, allocations: 0 / 1.039 GB, free: 12.49 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2319, allocations: 4 kB / 1.039 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2319, allocations: 0 / 1.039 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.2321, allocations: 172.7 kB / 1.039 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.2322, allocations: 100.9 kB / 1.039 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.2322, allocations: 0 / 1.039 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.2323, allocations: 15.98 kB / 1.039 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.2323, allocations: 4 kB / 1.039 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.2323, allocations: 0 / 1.039 GB, free: 12.16 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004622/0.2328, allocations: 0.6174 MB / 1.039 GB, free: 11.54 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2328, allocations: 0 / 1.039 GB, free: 11.54 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000267/0.2331, allocations: 75.94 kB / 1.039 GB, free: 11.47 MB / 0.795 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.0006725/0.2338, allocations: 0.7605 MB / 1.04 GB, free: 10.68 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.234, allocations: 103.9 kB / 1.04 GB, free: 10.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.234, allocations: 0 / 1.04 GB, free: 10.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.2342, allocations: 43.97 kB / 1.04 GB, free: 10.53 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.2344, allocations: 16.56 kB / 1.04 GB, free: 10.52 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.2374, allocations: 3.356 MB / 1.044 GB, free: 7.074 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.2377, allocations: 0.7204 MB / 1.044 GB, free: 6.328 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.199e-05/0.2377, allocations: 16.64 kB / 1.044 GB, free: 6.312 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/0.2378, allocations: 63.41 kB / 1.044 GB, free: 6.254 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.2378, allocations: 0 / 1.044 GB, free: 6.254 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.2505, allocations: 4.156 MB / 1.049 GB, free: 2.289 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.2507, allocations: 235.5 kB / 1.049 GB, free: 2.027 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.002, allocations: 1.406 kB / 1.049 GB, free: 2.027 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches