Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.Validation.OneWayFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow",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.00877/0.00877, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002167/0.002168, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.641/1.641, 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.221/2.221, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6926/0.6939, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2314/0.9254, allocations: 218.2 MB / 1.301 GB, free: 3.348 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0311/0.9565, allocations: 26.46 MB / 1.326 GB, free: 8.809 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.9585, allocations: 35.81 kB / 1.326 GB, free: 8.773 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.9616, allocations: 1.158 MB / 1.328 GB, free: 7.609 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007695/0.9693, allocations: 3.139 MB / 1.331 GB, free: 4.457 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00402/0.9734, allocations: 1.665 MB / 1.332 GB, free: 2.797 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004562/0.9779, allocations: 3.838 MB / 1.336 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.9801, allocations: 1.464 MB / 1.337 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004155/0.9842, allocations: 2.284 MB / 1.34 GB, free: 11.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.9863, allocations: 1.467 MB / 1.341 GB, free: 9.688 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000309/0.9866, allocations: 124 kB / 1.341 GB, free: 9.566 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/0.99, allocations: 1.793 MB / 1.343 GB, free: 7.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0009294/0.991, allocations: 0.8528 MB / 1.344 GB, free: 6.914 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.9928, allocations: 1.177 MB / 1.345 GB, free: 5.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004292/0.9971, allocations: 3.002 MB / 1.348 GB, free: 2.719 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.9972, allocations: 8 kB / 1.348 GB, free: 2.711 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9972, allocations: 0 / 1.348 GB, free: 2.711 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001204/0.9973, allocations: 0 / 1.348 GB, free: 2.711 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005147/1.002, allocations: 2.857 MB / 1.351 GB, free: 15.79 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.002, allocations: 12.03 kB / 1.351 GB, free: 15.77 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00026/1.003, allocations: 202.6 kB / 1.351 GB, free: 15.57 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/1.005, allocations: 448.1 kB / 1.351 GB, free: 15.12 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/1.008, allocations: 2.761 MB / 1.354 GB, free: 12.29 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/1.008, allocations: 94.53 kB / 1.354 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/1.008, allocations: 124 kB / 1.354 GB, free: 12.08 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/1.011, allocations: 1.595 MB / 1.356 GB, free: 10.34 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/1.011, allocations: 15.83 kB / 1.356 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.875e-05/1.011, allocations: 55.98 kB / 1.356 GB, free: 10.27 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/1.011, allocations: 89.91 kB / 1.356 GB, free: 10.18 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/1.013, allocations: 1.065 MB / 1.357 GB, free: 9.113 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00776/1.02, allocations: 8.444 MB / 1.365 GB, free: 172 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/1.021, allocations: 0.727 MB / 1.366 GB, free: 15.39 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/1.022, allocations: 316.1 kB / 1.366 GB, free: 15.07 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/1.022, allocations: 0.6052 MB / 1.367 GB, free: 14.34 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/1.022, allocations: 46.5 kB / 1.367 GB, free: 14.28 MB / 1.107 GB Notification: Performance of pre-optimization done (n=50): time 2.064e-06/1.022, allocations: 0 / 1.367 GB, free: 14.28 MB / 1.107 GB Notification: Performance of matching and sorting (n=50): time 0.001626/1.024, allocations: 0.9751 MB / 1.368 GB, free: 13.3 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/1.024, allocations: 162.8 kB / 1.368 GB, free: 13.1 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00519/1.029, allocations: 4.693 MB / 1.373 GB, free: 8.398 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/1.029, allocations: 33.7 kB / 1.373 GB, free: 8.359 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008177/1.03, allocations: 1.066 MB / 1.374 GB, free: 7.285 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/1.03, allocations: 177.4 kB / 1.374 GB, free: 7.109 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/1.031, allocations: 94.16 kB / 1.374 GB, free: 7.012 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.031, allocations: 330 kB / 1.374 GB, free: 6.684 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/1.031, allocations: 224.9 kB / 1.374 GB, free: 6.465 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/1.032, allocations: 314.9 kB / 1.375 GB, free: 6.121 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/1.032, allocations: 0.5571 MB / 1.375 GB, free: 5.531 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.032, allocations: 0 / 1.375 GB, free: 5.531 MB / 1.107 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001261/1.034, allocations: 0.7952 MB / 1.376 GB, free: 4.727 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.034, allocations: 14.44 kB / 1.376 GB, free: 4.715 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.034, allocations: 4.25 kB / 1.376 GB, free: 4.711 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/1.034, allocations: 8 kB / 1.376 GB, free: 4.703 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/1.034, allocations: 107.8 kB / 1.376 GB, free: 4.598 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.034, allocations: 4 kB / 1.376 GB, free: 4.594 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007278/1.035, allocations: 98.89 kB / 1.376 GB, free: 4.496 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/1.035, allocations: 20 kB / 1.376 GB, free: 4.477 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.0006479/1.036, allocations: 0.541 MB / 1.377 GB, free: 3.926 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/1.036, allocations: 237 kB / 1.377 GB, free: 3.691 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/1.037, allocations: 0.8079 MB / 1.378 GB, free: 2.871 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/1.037, allocations: 7.938 kB / 1.378 GB, free: 2.863 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.037, allocations: 7.984 kB / 1.378 GB, free: 2.855 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.037, allocations: 0 / 1.378 GB, free: 2.855 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/1.04, allocations: 2.088 MB / 1.38 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.04, allocations: 4 kB / 1.38 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/1.041, allocations: 99.83 kB / 1.38 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.041, allocations: 4 kB / 1.38 GB, free: 0.582 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/1.041, allocations: 15.98 kB / 1.38 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/1.041, allocations: 4 kB / 1.38 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.041, allocations: 8.188 kB / 1.38 GB, free: 0.5547 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/1.043, allocations: 1.273 MB / 1.381 GB, free: 15.25 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007354/1.043, allocations: 414 kB / 1.382 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/1.044, allocations: 19.98 kB / 1.382 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/1.044, allocations: 16 kB / 1.382 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/1.044, allocations: 44.31 kB / 1.382 GB, free: 14.74 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/1.044, allocations: 16 kB / 1.382 GB, free: 14.73 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003788/1.048, allocations: 3.51 MB / 1.385 GB, free: 11.21 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/1.048, allocations: 0 / 1.385 GB, free: 11.21 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001064/1.049, allocations: 471.1 kB / 1.386 GB, free: 10.75 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * 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 (53): * Single equations (assignments): 53 * 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.003244/1.052, allocations: 2.253 MB / 1.388 GB, free: 8.594 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008934/1.053, allocations: 0.5374 MB / 1.388 GB, free: 8.055 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.053, allocations: 0 / 1.388 GB, free: 8.055 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004218/1.054, allocations: 298.3 kB / 1.389 GB, free: 7.762 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/1.057, allocations: 0.854 MB / 1.389 GB, free: 6.91 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0235/1.081, allocations: 19.32 MB / 1.408 GB, free: 3.324 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/1.082, allocations: 1.64 MB / 1.41 GB, free: 1.648 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001259/1.083, allocations: 466.1 kB / 1.41 GB, free: 1.191 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/1.084, allocations: 0.9444 MB / 1.411 GB, free: 252 kB / 1.139 GB Notification: Performance of SimCode: time 5.51e-07/1.084, allocations: 0 / 1.411 GB, free: 252 kB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08014/1.165, allocations: 46.55 MB / 1.457 GB, free: 2.25 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.63, allocations: 18.02 kB / 1.457 GB, free: 2.234 MB / 1.186 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches