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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CpAct",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CpAct",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001329/0.001329, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.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.386/2.386, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5846, allocations: 140.3 MB / 0.9491 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002219/0.5869, allocations: 1.512 MB / 0.9506 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.588, allocations: 0.8876 MB / 0.9514 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.588, allocations: 0 / 0.9514 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.5882, allocations: 11.05 kB / 0.9514 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000484/0.5887, allocations: 112.3 kB / 0.9516 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.5889, allocations: 101.1 kB / 0.9516 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.291e-05/0.589, allocations: 60.02 kB / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.5891, allocations: 10.16 kB / 0.9517 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.066e-05/0.5892, allocations: 36.5 kB / 0.9518 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.5893, allocations: 53.66 kB / 0.9518 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.5893, allocations: 4 kB / 0.9518 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.5896, allocations: 233 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.5897, allocations: 52.19 kB / 0.9521 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.111e-05/0.5898, allocations: 51.69 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.5901, allocations: 248.5 kB / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5901, allocations: 0 / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5901, allocations: 1.438 kB / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.5901, allocations: 0 / 0.9524 GB, free: 6.812 MB / 0.7169 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.0005438/0.5907, allocations: 477.4 kB / 0.9528 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5907, allocations: 8.906 kB / 0.9528 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.5908, allocations: 15.81 kB / 0.9528 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.591, allocations: 273.4 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.591, allocations: 1.781 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.591, allocations: 5.625 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.5912, allocations: 75.78 kB / 0.9532 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.5912, allocations: 0 / 0.9532 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.5912, allocations: 1.188 kB / 0.9532 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.5912, allocations: 0 / 0.9532 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.5914, allocations: 81 kB / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.5916, allocations: 234.1 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.5919, allocations: 112.3 kB / 0.9536 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.592, allocations: 54.3 kB / 0.9536 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.592, allocations: 24.3 kB / 0.9537 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.111e-05/0.5921, allocations: 34.56 kB / 0.9537 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5921, allocations: 1.25 kB / 0.9537 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003917/0.5925, allocations: 165.3 kB / 0.9539 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.5925, allocations: 52.47 kB / 0.9539 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.5927, allocations: 295.7 kB / 0.9542 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.5928, allocations: 29.7 kB / 0.9542 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.5928, allocations: 116.4 kB / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.5928, allocations: 5.156 kB / 0.9543 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.5929, allocations: 22.55 kB / 0.9544 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.708e-05/0.5929, allocations: 327.3 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.593, allocations: 41.03 kB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.5931, allocations: 61.7 kB / 0.9548 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.5933, allocations: 88.09 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5933, allocations: 0 / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002291/0.5936, allocations: 138.8 kB / 0.955 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5936, allocations: 6.188 kB / 0.955 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5936, allocations: 3.984 kB / 0.955 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5936, allocations: 32 / 0.955 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.5937, allocations: 11.16 kB / 0.955 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.5937, allocations: 3.938 kB / 0.955 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.666e-05/0.5938, allocations: 13.42 kB / 0.955 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.5938, allocations: 0 / 0.955 GB, free: 4.672 MB / 0.7169 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.684e-05/0.5939, allocations: 132 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.5939, allocations: 19.38 kB / 0.9552 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.5942, allocations: 134.8 kB / 0.9553 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5942, allocations: 0 / 0.9553 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5942, allocations: 0 / 0.9553 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5942, allocations: 1.312 kB / 0.9553 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.5944, allocations: 218.8 kB / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5944, allocations: 0 / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.5944, allocations: 11.58 kB / 0.9555 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.5945, allocations: 2.094 kB / 0.9555 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.5945, allocations: 0 / 0.9555 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5945, allocations: 3.938 kB / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.5945, allocations: 4 kB / 0.9555 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.5947, allocations: 154.3 kB / 0.9557 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.5948, allocations: 98.66 kB / 0.9558 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.5948, allocations: 1.281 kB / 0.9558 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.173e-05/0.5949, allocations: 6.922 kB / 0.9558 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.5949, allocations: 10.84 kB / 0.9558 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.5949, allocations: 4 kB / 0.9558 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001787/0.5951, allocations: 227.1 kB / 0.956 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5951, allocations: 0 / 0.956 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003341/0.5955, allocations: 74.2 kB / 0.9561 GB, free: 3.844 MB / 0.7169 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.0002426/0.5957, allocations: 151.6 kB / 0.9562 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.596, allocations: 93.67 kB / 0.9563 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.596, allocations: 4 kB / 0.9563 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.859e-05/0.5961, allocations: 43.59 kB / 0.9564 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.5964, allocations: 18.39 kB / 0.9564 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.5968, allocations: 339.2 kB / 0.9567 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.5969, allocations: 0.7271 MB / 0.9574 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.74e-05/0.597, allocations: 22.77 kB / 0.9574 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.597, allocations: 14.16 kB / 0.9574 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.597, allocations: 3.938 kB / 0.9574 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of Templates: time 0.004713/0.6018, allocations: 2.061 MB / 0.9595 GB, free: 1.664 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile (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 & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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