Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_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.004755/0.004755, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001119/0.001119, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.165/1.165, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.144/2.144, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 71.88 kB / 0.9504 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6666/0.6677, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002298/0.6701, allocations: 1.448 MB / 1.089 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.6712, allocations: 0.8852 MB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.6713, allocations: 1.094 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.6714, allocations: 9.25 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004788/0.6719, allocations: 142.9 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.6721, allocations: 108.1 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.457e-05/0.6722, allocations: 54.27 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.6723, allocations: 7.344 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.309e-05/0.6724, allocations: 42.62 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.6725, allocations: 40.39 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.6725, allocations: 4.188 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.6729, allocations: 238.7 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.673, allocations: 60.5 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.673, allocations: 55.5 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.6734, allocations: 280.8 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6734, allocations: 0 / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6734, allocations: 0 / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6734, allocations: 4 kB / 1.091 GB, free: 3.352 MB / 0.8575 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.0006019/0.674, allocations: 0.4988 MB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.6741, allocations: 9.5 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.151e-05/0.6741, allocations: 32.31 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.6741, allocations: 17 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.6747, allocations: 0.6501 MB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.6747, allocations: 5.406 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.6747, allocations: 7.141 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.6749, allocations: 70.91 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.6749, allocations: 0 / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.6749, allocations: 0 / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.675, allocations: 0.625 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.6752, allocations: 78.77 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.6755, allocations: 321.6 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.6757, allocations: 125.2 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.6759, allocations: 47.62 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.6759, allocations: 15.41 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.6759, allocations: 31.28 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6759, allocations: 0.7812 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004221/0.6763, allocations: 173.4 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.6764, allocations: 53.27 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/0.6771, allocations: 0.7767 MB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.629e-06/0.6772, allocations: 25.7 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.6772, allocations: 136.1 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.6772, allocations: 5.203 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.6773, allocations: 19.09 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.6773, allocations: 331.4 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.6775, allocations: 40.23 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.6776, allocations: 69.11 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.6778, allocations: 84.59 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6778, allocations: 7.969 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002681/0.6781, allocations: 130.6 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.6781, allocations: 15.16 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6781, allocations: 0.7969 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.6781, allocations: 1.094 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.6782, allocations: 14.11 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6782, allocations: 1.375 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.6783, allocations: 8.531 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.6784, allocations: 5.906 kB / 1.094 GB, free: 1.172 MB / 0.8575 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 7.733e-05/0.6784, allocations: 134 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.6785, allocations: 19.09 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.6788, allocations: 136.5 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6788, allocations: 0.625 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6788, allocations: 1.656 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.6788, allocations: 0 / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.679, allocations: 238.5 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.679, allocations: 3.938 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.679, allocations: 11.2 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.679, allocations: 0.5625 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.679, allocations: 0.6562 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6791, allocations: 0.9062 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6791, allocations: 0.7969 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.6793, allocations: 158.5 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.6794, allocations: 99.45 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.6794, allocations: 1.062 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.6795, allocations: 11.5 kB / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.6795, allocations: 2.375 kB / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.6796, allocations: 1.281 kB / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000524/0.6801, allocations: 0.6158 MB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6801, allocations: 0 / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003183/0.6804, allocations: 78.86 kB / 1.096 GB, free: 368 kB / 0.8575 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.0006403/0.6811, allocations: 0.7485 MB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.6814, allocations: 93.42 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6814, allocations: 3.938 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.6815, allocations: 48.59 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.6817, allocations: 14.05 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.6854, allocations: 3.305 MB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.6857, allocations: 0.7231 MB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.284e-05/0.6858, allocations: 24.48 kB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.6859, allocations: 53.66 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of SimCode: time 3.2e-07/0.6859, allocations: 5.25 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/0.8077, allocations: 4.583 MB / 1.105 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.595, allocations: 10.88 kB / 1.105 GB, free: 12.86 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches