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.0008623/0.0008622, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005144/0.005145, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.335/2.335, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 11.53 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2365, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00136/0.2379, allocations: 1.179 MB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2391, allocations: 0.9078 MB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.2392, allocations: 0 / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.2393, allocations: 7.984 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.2397, allocations: 111 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.2399, allocations: 79.84 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.24, allocations: 83.73 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.24, allocations: 0 / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.2401, allocations: 35.89 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.2402, allocations: 43.84 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.2403, allocations: 8 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.2406, allocations: 223.7 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.422e-05/0.2407, allocations: 55.81 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.878e-05/0.2407, allocations: 85.3 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.241, allocations: 275.5 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.241, allocations: 0 / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2411, allocations: 0 / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2411, allocations: 0 / 1.062 GB, free: 1.758 MB / 0.8106 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.000552/0.2416, allocations: 494.6 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.2417, allocations: 11.97 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.2417, allocations: 34.69 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.2417, allocations: 24.59 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/0.2422, allocations: 0.6472 MB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.2423, allocations: 384 / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2423, allocations: 11.88 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.2424, allocations: 77.66 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.2425, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.2425, allocations: 4 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2425, allocations: 0 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.2427, allocations: 87.92 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.243, allocations: 325.6 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.2432, allocations: 126.4 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.2433, allocations: 52.89 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.2433, allocations: 19.98 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.2434, allocations: 30.56 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2434, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003855/0.2438, allocations: 189.3 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.2438, allocations: 51.41 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006/0.2444, allocations: 0.7742 MB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.2444, allocations: 25.7 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.2445, allocations: 128.1 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.2445, allocations: 11.81 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.2445, allocations: 9.719 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.2446, allocations: 338.8 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.844e-05/0.2448, allocations: 39.97 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.2449, allocations: 66.53 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.2451, allocations: 105.1 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2451, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002514/0.2453, allocations: 149.3 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.2454, allocations: 8 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2454, allocations: 4 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.2454, allocations: 0 / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.2455, allocations: 8 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2455, allocations: 3.984 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.2456, allocations: 16 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.2456, allocations: 0 / 1.066 GB, free: 13.69 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 8.31e-05/0.2457, allocations: 137.7 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.2457, allocations: 15.81 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.246, allocations: 154.8 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.246, allocations: 4 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.246, allocations: 3.938 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.246, allocations: 3.938 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.2462, allocations: 229.5 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2462, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.2462, allocations: 15.98 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2462, allocations: 0 / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.2462, allocations: 0 / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2463, allocations: 0 / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2463, allocations: 4 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.2465, allocations: 168.7 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.2466, allocations: 100.9 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.2466, allocations: 11.98 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.2467, allocations: 4 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.2467, allocations: 11.92 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.2467, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004584/0.2472, allocations: 0.6136 MB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2472, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002664/0.2475, allocations: 71.98 kB / 1.067 GB, free: 12.05 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.000617/0.2481, allocations: 0.7606 MB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.2484, allocations: 99.88 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2484, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.2485, allocations: 47.97 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.2487, allocations: 12.56 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.2516, allocations: 3.351 MB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.2518, allocations: 0.7204 MB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.077e-05/0.2519, allocations: 24.62 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.252, allocations: 51.42 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.252, allocations: 0 / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.537/2.789, allocations: 4.174 MB / 1.076 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/2.789, allocations: 225.6 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/4.46, allocations: 0 / 1.076 GB, free: 2.613 MB / 0.8262 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