Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001594/0.001594, allocations: 108.5 kB / 16.41 MB, free: 6.453 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.001601/0.001601, allocations: 191.8 kB / 17.34 MB, free: 5.738 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001863, allocations: 68.11 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6697/0.6716, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002424/0.674, allocations: 1.454 MB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.6754, allocations: 0.9007 MB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.6755, allocations: 0 / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.6756, allocations: 3.938 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004873/0.6761, allocations: 136.8 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.6764, allocations: 109.3 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.784e-05/0.6765, allocations: 55.89 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.6765, allocations: 4 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.994e-05/0.6766, allocations: 39.83 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.6767, allocations: 51.81 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.6767, allocations: 4 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.6771, allocations: 231.6 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.6772, allocations: 55.86 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.6773, allocations: 47.67 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.6776, allocations: 251.7 kB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6776, allocations: 7.984 kB / 1.171 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.715e-06/0.6776, allocations: 0 / 1.171 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6776, allocations: 3.938 kB / 1.171 GB, free: 0.4961 MB / 0.8887 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.0006557/0.6783, allocations: 480.8 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.6783, allocations: 12.03 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.6784, allocations: 16.84 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.6787, allocations: 267.9 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.6787, allocations: 9.812 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.6787, allocations: 4 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.6789, allocations: 65.67 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6789, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.6789, allocations: 3.984 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.6789, allocations: 7.938 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.6792, allocations: 83.92 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.6794, allocations: 237.6 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.6797, allocations: 114.5 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.6798, allocations: 48.89 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.6798, allocations: 23.92 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.6799, allocations: 30.56 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.6799, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.000409/0.6803, allocations: 169.4 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.6803, allocations: 51.41 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.6806, allocations: 291.1 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.6807, allocations: 33.7 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.6808, allocations: 124.1 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.6808, allocations: 3.953 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.6808, allocations: 17.72 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.681, allocations: 326.8 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.6811, allocations: 39.97 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.6812, allocations: 66.48 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.6814, allocations: 88.78 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6814, allocations: 0 / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000252/0.6817, allocations: 121.5 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.6817, allocations: 6.969 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6817, allocations: 4 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.6817, allocations: 11.91 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.6818, allocations: 11.98 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.6818, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.6819, allocations: 11.98 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.6819, allocations: 4 kB / 1.173 GB, free: 13.54 MB / 0.9044 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 0.000106/0.682, allocations: 129.8 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.6821, allocations: 15.91 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.6823, allocations: 138.5 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6824, allocations: 3.938 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6824, allocations: 384 / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.6824, allocations: 0 / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.6826, allocations: 213.6 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.6826, allocations: 0 / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-05/0.6827, allocations: 19.92 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.6827, allocations: 3.984 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.6827, allocations: 0 / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.6827, allocations: 3.938 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6827, allocations: 4 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.683, allocations: 149 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.6831, allocations: 97 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.6831, allocations: 0 / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.997e-05/0.6831, allocations: 7.938 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.6832, allocations: 7.984 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.6832, allocations: 7.938 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002048/0.6834, allocations: 216.6 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6834, allocations: 0 / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002865/0.6837, allocations: 71.92 kB / 1.174 GB, free: 12.36 MB / 0.9044 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.0002679/0.684, allocations: 167 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002522/0.6842, allocations: 79.94 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6843, allocations: 8 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.6844, allocations: 47.95 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.6846, allocations: 5.797 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.6851, allocations: 318.7 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.6854, allocations: 0.7274 MB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.04e-05/0.6855, allocations: 16.55 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.6855, allocations: 11.44 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.6855, allocations: 0 / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of Templates: time 0.4747/1.16, allocations: 2.149 MB / 1.178 GB, free: 8.773 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches