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.001225/0.001225, 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.001232/0.001232, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.475/2.475, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 65.66 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2328, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002388/0.2352, allocations: 1.457 MB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.2365, allocations: 0.8919 MB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.2366, allocations: 0 / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.2367, allocations: 11.92 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.2373, allocations: 127.7 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.2375, allocations: 107.7 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.424e-05/0.2376, allocations: 63.77 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/0.2377, allocations: 4 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.813e-05/0.2378, allocations: 47.78 kB / 1.056 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.702e-05/0.2379, allocations: 39.89 kB / 1.056 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.2379, allocations: 4 kB / 1.056 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.2382, allocations: 227.7 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.888e-05/0.2383, allocations: 60.3 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.2384, allocations: 55.61 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.2387, allocations: 279.4 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2387, allocations: 4 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2387, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2388, allocations: 0 / 1.056 GB, free: 4.902 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.0006174/0.2394, allocations: 0.4906 MB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2394, allocations: 8.625 kB / 1.057 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.2395, allocations: 42.73 kB / 1.057 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.2395, allocations: 20.66 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.2401, allocations: 0.6433 MB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/0.2401, allocations: 384 / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.2401, allocations: 11.94 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2403, allocations: 69.66 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.2403, allocations: 3.938 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2403, allocations: 4 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2403, allocations: 0 / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.2405, allocations: 79.88 kB / 1.058 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.2408, allocations: 321.6 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.241, allocations: 126.5 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.2412, allocations: 44.83 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.2412, allocations: 15.98 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2412, allocations: 30.56 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2412, allocations: 0 / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003975/0.2417, allocations: 177.3 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.2417, allocations: 51.41 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.2423, allocations: 0.7703 MB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.2423, allocations: 29.7 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.2424, allocations: 128.1 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.2424, allocations: 11.81 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.2424, allocations: 17.72 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.2425, allocations: 334.8 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.882e-05/0.2426, allocations: 39.97 kB / 1.06 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.2428, allocations: 58.72 kB / 1.06 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.243, allocations: 100.8 kB / 1.06 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.243, allocations: 0 / 1.06 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002428/0.2432, allocations: 129.4 kB / 1.06 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.2432, allocations: 4 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2432, allocations: 7.938 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2433, allocations: 0 / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.2433, allocations: 8 kB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.2433, allocations: 0 / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.2434, allocations: 19.92 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2435, allocations: 4 kB / 1.06 GB, free: 0.8945 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.882e-05/0.2436, allocations: 131.3 kB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.2436, allocations: 15.81 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.2439, allocations: 146.7 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2439, allocations: 0 / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.2439, allocations: 4 kB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2439, allocations: 4 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.244, allocations: 237.5 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2441, allocations: 0 / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.2441, allocations: 7.984 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2441, allocations: 4 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.2441, allocations: 0 / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2441, allocations: 0 / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2441, allocations: 0 / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.2444, allocations: 164.8 kB / 1.061 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.2445, allocations: 101.1 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.2445, allocations: 3.984 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.2446, allocations: 4 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.2446, allocations: 3.984 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.2446, allocations: 8 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004402/0.2451, allocations: 0.6136 MB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2451, allocations: 4 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002962/0.2454, allocations: 67.98 kB / 1.061 GB, free: 15.29 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.0006209/0.246, allocations: 0.7449 MB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.2463, allocations: 95.92 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2463, allocations: 0 / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.2464, allocations: 39.97 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.2466, allocations: 12.56 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.2495, allocations: 3.31 MB / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.2498, allocations: 0.7278 MB / 1.066 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.772e-05/0.2498, allocations: 24.62 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.2499, allocations: 62.59 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.2499, allocations: 0 / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8098/1.06, allocations: 4.543 MB / 1.071 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.46, allocations: 14.36 kB / 1.071 GB, free: 5.719 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