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.008344/0.008344, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.001885/0.001885, allocations: 194.4 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.09/2.09, allocations: 222.9 MB / 240.4 MB, free: 4.184 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 3.926/3.926, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002109, allocations: 66.09 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4061, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 1.203/1.609, allocations: 218.2 MB / 1.301 GB, free: 2.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.05331/1.663, allocations: 26.47 MB / 1.326 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004555/1.667, allocations: 33.84 kB / 1.326 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005659/1.673, allocations: 1.158 MB / 1.328 GB, free: 2.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01655/1.69, allocations: 3.14 MB / 1.331 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007039/1.697, allocations: 1.662 MB / 1.332 GB, free: 2.297 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008377/1.705, allocations: 3.855 MB / 1.336 GB, free: 2.254 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003894/1.709, allocations: 1.457 MB / 1.337 GB, free: 2.059 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00824/1.718, allocations: 2.287 MB / 1.34 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004034/1.722, allocations: 1.467 MB / 1.341 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008081/1.722, allocations: 125.5 kB / 1.341 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005273/1.728, allocations: 1.782 MB / 1.343 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001268/1.729, allocations: 0.8496 MB / 1.344 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003521/1.733, allocations: 1.183 MB / 1.345 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009197/1.742, allocations: 3.009 MB / 1.348 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/1.742, allocations: 0 / 1.348 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.705e-06/1.742, allocations: 4 kB / 1.348 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001547/1.742, allocations: 0 / 1.348 GB, free: 0.5938 MB / 1.014 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.009533/1.752, allocations: 2.86 MB / 1.351 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/1.752, allocations: 7.375 kB / 1.351 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005435/1.752, allocations: 202 kB / 1.351 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003746/1.756, allocations: 446 kB / 1.351 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006983/1.763, allocations: 2.759 MB / 1.354 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/1.763, allocations: 95.78 kB / 1.354 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005729/1.764, allocations: 124.8 kB / 1.354 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005252/1.769, allocations: 1.593 MB / 1.356 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.49e-05/1.769, allocations: 14.22 kB / 1.356 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/1.77, allocations: 61.47 kB / 1.356 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000191/1.77, allocations: 90.5 kB / 1.356 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003207/1.773, allocations: 1.057 MB / 1.357 GB, free: 12.76 MB / 1.029 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.0146/1.788, allocations: 8.448 MB / 1.365 GB, free: 6.613 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/1.789, allocations: 0.7321 MB / 1.366 GB, free: 6.336 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006824/1.79, allocations: 309.1 kB / 1.366 GB, free: 6.223 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008065/1.791, allocations: 0.6101 MB / 1.367 GB, free: 5.555 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/1.791, allocations: 43.28 kB / 1.367 GB, free: 5.512 MB / 1.029 GB Notification: Performance of pre-optimization done (n=50): time 4.739e-06/1.791, allocations: 0 / 1.367 GB, free: 5.512 MB / 1.029 GB Notification: Performance of matching and sorting (n=50): time 0.003118/1.794, allocations: 0.9737 MB / 1.368 GB, free: 5.184 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.794, allocations: 158.6 kB / 1.368 GB, free: 4.996 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.805, allocations: 4.689 MB / 1.373 GB, free: 3.598 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001641/1.805, allocations: 36.92 kB / 1.373 GB, free: 3.559 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/1.807, allocations: 1.075 MB / 1.374 GB, free: 2.723 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/1.807, allocations: 175.1 kB / 1.374 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/1.807, allocations: 99.98 kB / 1.374 GB, free: 2.535 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.807, allocations: 324.5 kB / 1.374 GB, free: 2.223 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/1.808, allocations: 223.5 kB / 1.374 GB, free: 2.172 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006792/1.809, allocations: 317 kB / 1.375 GB, free: 2.016 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/1.81, allocations: 0.5691 MB / 1.375 GB, free: 1.773 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.81, allocations: 112 / 1.375 GB, free: 1.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002579/1.812, allocations: 0.8003 MB / 1.376 GB, free: 1.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/1.813, allocations: 11.94 kB / 1.376 GB, free: 1.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.813, allocations: 3.594 kB / 1.376 GB, free: 1.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/1.813, allocations: 2.75 kB / 1.376 GB, free: 1.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/1.813, allocations: 103.3 kB / 1.376 GB, free: 1.477 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/1.813, allocations: 10.36 kB / 1.376 GB, free: 1.477 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/1.815, allocations: 100.8 kB / 1.376 GB, free: 1.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/1.815, allocations: 22.72 kB / 1.376 GB, free: 1.402 MB / 1.029 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.001739/1.817, allocations: 0.5411 MB / 1.377 GB, free: 1.172 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/1.818, allocations: 232.5 kB / 1.377 GB, free: 1.051 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/1.82, allocations: 0.7991 MB / 1.378 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/1.82, allocations: 5.188 kB / 1.378 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.82, allocations: 7.25 kB / 1.378 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.821, allocations: 2.766 kB / 1.378 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005509/1.826, allocations: 2.094 MB / 1.38 GB, free: 15.76 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/1.826, allocations: 2.062 kB / 1.38 GB, free: 15.76 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/1.827, allocations: 104.4 kB / 1.38 GB, free: 15.76 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/1.827, allocations: 2.812 kB / 1.38 GB, free: 15.76 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/1.827, allocations: 11.38 kB / 1.38 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/1.827, allocations: 7.344 kB / 1.38 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.827, allocations: 0 / 1.38 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/1.829, allocations: 1.268 MB / 1.381 GB, free: 15.19 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009632/1.83, allocations: 423 kB / 1.382 GB, free: 14.92 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/1.83, allocations: 19.5 kB / 1.382 GB, free: 14.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006417/1.831, allocations: 20.5 kB / 1.382 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/1.831, allocations: 35.02 kB / 1.382 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/1.831, allocations: 19.92 kB / 1.382 GB, free: 14.89 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.005014/1.836, allocations: 3.502 MB / 1.385 GB, free: 13.5 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.02e-07/1.836, allocations: 0 / 1.385 GB, free: 13.5 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001888/1.838, allocations: 480.4 kB / 1.386 GB, free: 13.41 MB / 1.045 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.004675/1.843, allocations: 2.254 MB / 1.388 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001469/1.844, allocations: 0.5342 MB / 1.388 GB, free: 11.87 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.844, allocations: 0.5 kB / 1.388 GB, free: 11.87 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006841/1.845, allocations: 296.2 kB / 1.389 GB, free: 11.77 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005844/1.851, allocations: 0.866 MB / 1.389 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03866/1.89, allocations: 19.32 MB / 1.408 GB, free: 9.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/1.892, allocations: 1.636 MB / 1.41 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002557/1.894, allocations: 478.1 kB / 1.41 GB, free: 7.289 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/1.896, allocations: 0.9367 MB / 1.411 GB, free: 6.352 MB / 1.061 GB Notification: Performance of SimCode: time 1.272e-06/1.896, allocations: 0 / 1.411 GB, free: 6.352 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/2.009, allocations: 47.53 MB / 1.458 GB, free: 7.332 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.85/24.86, allocations: 10.5 kB / 1.458 GB, free: 7.324 MB / 1.107 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 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.mat","/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