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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001223/0.001223, allocations: 108 kB / 15.61 MB, free: 152 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.00113/0.00113, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.186/1.186, 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 11.0.1-master/package.mo): time 2.38/2.38, allocations: 469.4 MB / 0.742 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 64.02 kB / 0.9083 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2279, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002246/0.2302, allocations: 1.446 MB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.2314, allocations: 0.8898 MB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.2315, allocations: 4 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.2316, allocations: 7.922 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.232, allocations: 131.7 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.2322, allocations: 106.2 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.015e-05/0.2323, allocations: 63.78 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.2324, allocations: 4 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.532e-05/0.2324, allocations: 43.83 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.133e-05/0.2325, allocations: 43.89 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.2326, allocations: 8 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.2329, allocations: 223.7 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.233, allocations: 55.81 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.233, allocations: 59.59 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.2333, allocations: 279.4 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2333, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.81e-07/0.2333, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.2333, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 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.0005876/0.2339, allocations: 0.4983 MB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.234, allocations: 12.03 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.59e-05/0.234, allocations: 34.73 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.2341, allocations: 16.75 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.2345, allocations: 0.6472 MB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.2346, allocations: 384 / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.2346, allocations: 3.938 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.2347, allocations: 81.53 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.2348, allocations: 0 / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.2348, allocations: 3.938 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2348, allocations: 4 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.235, allocations: 79.94 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.2352, allocations: 321.6 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.2355, allocations: 114.5 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.2356, allocations: 56.88 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.2356, allocations: 11.98 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.2356, allocations: 38.5 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 2.214e-06/0.2357, allocations: 3.984 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003736/0.236, allocations: 165.3 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.2361, allocations: 55.39 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/0.2366, allocations: 0.7781 MB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.2367, allocations: 25.7 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.2367, allocations: 132.1 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.2368, allocations: 3.906 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.2368, allocations: 13.72 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.2369, allocations: 330.8 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.645e-05/0.237, allocations: 43.97 kB / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.2371, allocations: 70.47 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.2373, allocations: 80.8 kB / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2373, allocations: 0 / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002366/0.2375, allocations: 133.4 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2376, allocations: 8.016 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2376, allocations: 8 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2376, allocations: 0 / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.2377, allocations: 8 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2377, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2378, allocations: 15.92 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.2378, allocations: 0 / 1.071 GB, free: 7.184 MB / 0.8262 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 9.533e-05/0.2379, allocations: 138.2 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.2379, allocations: 19.72 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.2382, allocations: 138.9 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2382, allocations: 0 / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2382, allocations: 4 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2382, allocations: 3.938 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.2384, allocations: 233.5 kB / 1.071 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2384, allocations: 0 / 1.071 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.2385, allocations: 15.98 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2385, allocations: 0 / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2385, allocations: 4 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2385, allocations: 7.938 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2385, allocations: 0 / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.2388, allocations: 156.8 kB / 1.071 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.2389, allocations: 96.91 kB / 1.071 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.2389, allocations: 0 / 1.071 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.239, allocations: 19.98 kB / 1.071 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.239, allocations: 432 / 1.071 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.239, allocations: 0 / 1.071 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004861/0.2395, allocations: 0.6174 MB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2395, allocations: 0 / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002828/0.2398, allocations: 75.98 kB / 1.072 GB, free: 5.562 MB / 0.8262 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.0006837/0.2405, allocations: 0.7565 MB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.2407, allocations: 83.92 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2408, allocations: 0 / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.2409, allocations: 43.97 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.2411, allocations: 12.56 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.244, allocations: 3.301 MB / 1.076 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.2442, allocations: 0.724 MB / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.019e-05/0.2443, allocations: 32.56 kB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.2444, allocations: 55.41 kB / 1.077 GB, free: 428 kB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2444, allocations: 0 / 1.077 GB, free: 428 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.2633, allocations: 4.551 MB / 1.081 GB, free: 12 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.483/6.746, allocations: 9.531 kB / 1.081 GB, free: 12 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 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.csv","/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