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.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001208/0.001208, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.185/1.185, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.365/2.365, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.45 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2248, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002326/0.2272, allocations: 1.514 MB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2285, allocations: 0.9078 MB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.2285, allocations: 0 / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.2286, allocations: 19.92 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.2291, allocations: 110.8 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.2293, allocations: 75.78 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.116e-05/0.2294, allocations: 79.8 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.2294, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.8e-05/0.2295, allocations: 43.84 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.761e-05/0.2296, allocations: 43.89 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.2296, allocations: 4 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.2299, allocations: 223.7 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.574e-05/0.23, allocations: 59.81 kB / 1.055 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.2301, allocations: 51.61 kB / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.2304, allocations: 279.4 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2304, allocations: 0 / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.02e-07/0.2304, allocations: 4 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.2304, allocations: 0 / 1.056 GB, free: 4.809 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.0005984/0.231, allocations: 0.5023 MB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2311, allocations: 11.97 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.2311, allocations: 30.75 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.2312, allocations: 20.66 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.2317, allocations: 0.6511 MB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.2317, allocations: 384 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.2317, allocations: 11.88 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.2319, allocations: 73.61 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.2319, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.2319, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.2319, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.2321, allocations: 83.92 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.2324, allocations: 321.6 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.2326, allocations: 118.5 kB / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2327, allocations: 48.89 kB / 1.057 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.2328, allocations: 11.98 kB / 1.057 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.2328, allocations: 38.5 kB / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.2328, allocations: 0 / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.00038/0.2332, allocations: 169.6 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.2332, allocations: 51.41 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005874/0.2338, allocations: 0.7742 MB / 1.058 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2338, allocations: 25.7 kB / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.2339, allocations: 132.1 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.2339, allocations: 11.8 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.234, allocations: 17.72 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.2341, allocations: 326.8 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.2342, allocations: 47.95 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.2343, allocations: 66.47 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.2345, allocations: 84.83 kB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2345, allocations: 0 / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002268/0.2347, allocations: 137.4 kB / 1.059 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2347, allocations: 4 kB / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.2347, allocations: 0 / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2347, allocations: 3.938 kB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.245e-05/0.2348, allocations: 11.98 kB / 1.059 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2348, allocations: 0 / 1.059 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.775e-05/0.2349, allocations: 18.38 kB / 1.059 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2349, allocations: 3.984 kB / 1.059 GB, free: 0.7969 MB / 0.8106 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.589e-05/0.235, allocations: 141.6 kB / 1.059 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.235, allocations: 15.81 kB / 1.059 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.2353, allocations: 138.8 kB / 1.059 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2353, allocations: 0 / 1.059 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2353, allocations: 4 kB / 1.059 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2353, allocations: 8 kB / 1.059 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.2355, allocations: 225.5 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.2355, allocations: 3.984 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.2356, allocations: 15.94 kB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2356, allocations: 0 / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.2356, allocations: 0 / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2356, allocations: 4 kB / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2356, allocations: 0 / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.2358, allocations: 160.8 kB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.2359, allocations: 100.9 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.2359, allocations: 0 / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.236, allocations: 15.98 kB / 1.06 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.236, allocations: 0 / 1.06 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-06/0.2361, allocations: 0 / 1.06 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004548/0.2365, allocations: 0.6136 MB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.2365, allocations: 0 / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002758/0.2368, allocations: 79.98 kB / 1.061 GB, free: 15.18 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.0006289/0.2374, allocations: 0.7452 MB / 1.061 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.2377, allocations: 91.92 kB / 1.061 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2377, allocations: 0 / 1.061 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-05/0.2378, allocations: 43.95 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.238, allocations: 16.5 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.2409, allocations: 3.309 MB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.2411, allocations: 0.7243 MB / 1.065 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.382e-05/0.2412, allocations: 20.64 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.2412, allocations: 51.42 kB / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.2413, allocations: 0 / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8873/1.129, allocations: 4.35 MB / 1.07 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/1.129, allocations: 221.8 kB / 1.07 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.711, allocations: 0 / 1.07 GB, free: 5.609 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