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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007418/0.007418, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.002565/0.002565, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.227/1.227, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.42/2.42, allocations: 482.6 MB / 0.755 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 63.39 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2702, allocations: 162.3 MB / 1.242 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002547/0.2728, allocations: 1.451 MB / 1.243 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.2742, allocations: 0.8896 MB / 1.244 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.2743, allocations: 0 / 1.244 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.2744, allocations: 7.922 kB / 1.244 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.2749, allocations: 139.6 kB / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.2752, allocations: 107.7 kB / 1.244 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.2753, allocations: 55.89 kB / 1.244 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.2753, allocations: 7.984 kB / 1.244 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.737e-05/0.2754, allocations: 35.84 kB / 1.244 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.2755, allocations: 43.88 kB / 1.245 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.2755, allocations: 11.94 kB / 1.245 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/0.2759, allocations: 227.6 kB / 1.245 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.276, allocations: 59.86 kB / 1.245 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.326e-05/0.2761, allocations: 59.55 kB / 1.245 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.2765, allocations: 287.2 kB / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2765, allocations: 0 / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2765, allocations: 0 / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2765, allocations: 0 / 1.245 GB, free: 5.645 MB / 0.9669 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.0006812/0.2772, allocations: 0.5059 MB / 1.246 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2772, allocations: 8.031 kB / 1.246 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.2773, allocations: 30.75 kB / 1.246 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.2773, allocations: 16.84 kB / 1.246 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.2779, allocations: 0.6551 MB / 1.246 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2779, allocations: 12.12 kB / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.2779, allocations: 3.938 kB / 1.246 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.2781, allocations: 69.67 kB / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.2781, allocations: 0 / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.2782, allocations: 3.984 kB / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-06/0.2782, allocations: 4 kB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.2784, allocations: 79.94 kB / 1.246 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.2787, allocations: 321.5 kB / 1.247 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.2789, allocations: 118.4 kB / 1.247 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.279, allocations: 52.89 kB / 1.247 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.2791, allocations: 15.97 kB / 1.247 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2791, allocations: 34.56 kB / 1.247 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2791, allocations: 0 / 1.247 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003967/0.2795, allocations: 169.5 kB / 1.247 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.2796, allocations: 51.41 kB / 1.247 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/0.2803, allocations: 0.7819 MB / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2803, allocations: 33.64 kB / 1.248 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.2804, allocations: 132.1 kB / 1.248 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.2804, allocations: 7.938 kB / 1.248 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.2805, allocations: 17.72 kB / 1.248 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2806, allocations: 326.8 kB / 1.248 GB, free: 2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.2807, allocations: 43.95 kB / 1.249 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.2809, allocations: 62.55 kB / 1.249 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.2811, allocations: 80.8 kB / 1.249 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2811, allocations: 3.938 kB / 1.249 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002578/0.2813, allocations: 137.5 kB / 1.249 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2814, allocations: 10.06 kB / 1.249 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.2814, allocations: 0 / 1.249 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.2814, allocations: 0 / 1.249 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.2814, allocations: 11.98 kB / 1.249 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.2815, allocations: 0 / 1.249 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.2816, allocations: 15.94 kB / 1.249 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.2816, allocations: 0 / 1.249 GB, free: 1.625 MB / 0.9669 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.0001084/0.2817, allocations: 139.8 kB / 1.249 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.2817, allocations: 19.91 kB / 1.249 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.282, allocations: 130.9 kB / 1.249 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.282, allocations: 0 / 1.249 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.282, allocations: 0 / 1.249 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.282, allocations: 4 kB / 1.249 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.2822, allocations: 241.5 kB / 1.249 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2822, allocations: 0 / 1.249 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.2823, allocations: 8 kB / 1.249 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2823, allocations: 3.938 kB / 1.249 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.2823, allocations: 4 kB / 1.249 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/0.2823, allocations: 3.984 kB / 1.249 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2823, allocations: 4 kB / 1.249 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.2826, allocations: 152.9 kB / 1.249 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.2827, allocations: 105.4 kB / 1.25 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.2827, allocations: 0 / 1.25 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.2828, allocations: 15.98 kB / 1.25 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.2828, allocations: 0 / 1.25 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.2828, allocations: 0 / 1.25 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005366/0.2833, allocations: 0.6213 MB / 1.25 GB, free: 84 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2834, allocations: 0 / 1.25 GB, free: 84 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002679/0.2836, allocations: 75.88 kB / 1.25 GB, free: 8 kB / 0.9669 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.0007189/0.2844, allocations: 0.7604 MB / 1.251 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.2846, allocations: 83.92 kB / 1.251 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2846, allocations: 0 / 1.251 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.2847, allocations: 47.91 kB / 1.251 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.2849, allocations: 12.56 kB / 1.251 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.2882, allocations: 3.301 MB / 1.254 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.2886, allocations: 0.724 MB / 1.255 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.099e-05/0.2886, allocations: 24.62 kB / 1.255 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.2887, allocations: 59.41 kB / 1.255 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2887, allocations: 0 / 1.255 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4609/0.7496, allocations: 4.584 MB / 1.26 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.88, allocations: 9.594 kB / 1.26 GB, free: 6.434 MB / 0.9825 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=400 --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