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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.006148/0.006148, allocations: 104.4 kB / 15.73 MB, free: 6.027 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.001478/0.001478, allocations: 188.7 kB / 16.67 MB, free: 5.957 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.499/2.499, allocations: 469.4 MB / 0.7422 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 60.05 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6805/0.6818, allocations: 159.1 MB / 1.22 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002476/0.6843, allocations: 1.445 MB / 1.221 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.6857, allocations: 0.8843 MB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.6858, allocations: 7.938 kB / 1.222 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.6859, allocations: 0 / 1.222 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000566/0.6865, allocations: 144.6 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.6868, allocations: 107 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.6869, allocations: 63.75 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.6869, allocations: 8 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.229e-05/0.687, allocations: 35.89 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.6871, allocations: 43.83 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.6872, allocations: 4 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.6875, allocations: 231.7 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.315e-05/0.6876, allocations: 55.81 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.952e-05/0.6877, allocations: 63.55 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.6881, allocations: 286.6 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6881, allocations: 0 / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6881, allocations: 4 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.6881, allocations: 0 / 1.223 GB, free: 15.05 MB / 0.9512 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.0006825/0.6888, allocations: 0.4981 MB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.6888, allocations: 16.62 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.6889, allocations: 30.75 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.6889, allocations: 16.84 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.6895, allocations: 0.6551 MB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.6895, allocations: 8.125 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.6895, allocations: 0 / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.6897, allocations: 69.67 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.6897, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.6897, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.6898, allocations: 4 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.6899, allocations: 83.86 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.6903, allocations: 321.5 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.6906, allocations: 122.5 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.6907, allocations: 44.89 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.6908, allocations: 15.98 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.6908, allocations: 34.56 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.6908, allocations: 0 / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0004281/0.6912, allocations: 177.6 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.6913, allocations: 51.41 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006345/0.6919, allocations: 0.7742 MB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.6919, allocations: 29.7 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.692, allocations: 124.1 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.692, allocations: 15.88 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.6921, allocations: 17.72 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6922, allocations: 326.8 kB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.6923, allocations: 35.97 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.6925, allocations: 70.52 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.6927, allocations: 88.73 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6927, allocations: 3.938 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002548/0.6929, allocations: 137.5 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.693, allocations: 8 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.693, allocations: 4.031 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.693, allocations: 0 / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.6931, allocations: 11.98 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.6931, allocations: 3.938 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.6932, allocations: 11.98 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.6932, allocations: 0 / 1.227 GB, free: 11.03 MB / 0.9512 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.0001074/0.6933, allocations: 133.8 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.6933, allocations: 15.91 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.6936, allocations: 146.8 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.6937, allocations: 0 / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6937, allocations: 0 / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6937, allocations: 0 / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.6939, allocations: 229.5 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6939, allocations: 0 / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.6939, allocations: 11.98 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.6939, allocations: 0 / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.694, allocations: 7.938 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.694, allocations: 0 / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.694, allocations: 0 / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.6942, allocations: 164.8 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.6943, allocations: 105 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.6944, allocations: 0 / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.6944, allocations: 11.98 kB / 1.227 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.6945, allocations: 4 kB / 1.227 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.6945, allocations: 0 / 1.227 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005244/0.695, allocations: 0.6136 MB / 1.228 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.695, allocations: 0 / 1.228 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003008/0.6953, allocations: 75.86 kB / 1.228 GB, free: 9.422 MB / 0.9512 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.0007256/0.6961, allocations: 0.7568 MB / 1.229 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.6963, allocations: 95.91 kB / 1.229 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6963, allocations: 0 / 1.229 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.6964, allocations: 47.95 kB / 1.229 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.6967, allocations: 8.562 kB / 1.229 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.6999, allocations: 3.308 MB / 1.232 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.7002, allocations: 0.724 MB / 1.233 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.762e-05/0.7003, allocations: 24.64 kB / 1.233 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.496e-05/0.7003, allocations: 59.34 kB / 1.233 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.7004, allocations: 0 / 1.233 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.7204, allocations: 4.6 MB / 1.238 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/8.269, allocations: 7.891 kB / 1.238 GB, free: 15.83 MB / 0.9669 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