Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_10_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.007249/0.007249, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001746/0.001746, allocations: 193.6 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 1.319/1.319, 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 10.1.1-maint.10.0.x/package.mo): time 2.393/2.393, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.83 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7599, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2148/0.9747, allocations: 218.2 MB / 1.379 GB, free: 8.75 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02841/1.003, allocations: 26.45 MB / 1.405 GB, free: 14.21 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00226/1.005, allocations: 31.81 kB / 1.405 GB, free: 14.18 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003175/1.009, allocations: 1.185 MB / 1.406 GB, free: 12.99 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008019/1.017, allocations: 3.231 MB / 1.409 GB, free: 9.75 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003993/1.021, allocations: 1.667 MB / 1.411 GB, free: 8.086 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004786/1.026, allocations: 3.862 MB / 1.415 GB, free: 4.215 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001874/1.027, allocations: 1.455 MB / 1.416 GB, free: 2.727 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004322/1.032, allocations: 2.339 MB / 1.419 GB, free: 388 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/1.034, allocations: 1.467 MB / 1.42 GB, free: 14.91 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001961/1.034, allocations: 128 kB / 1.42 GB, free: 14.78 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003611/1.038, allocations: 1.801 MB / 1.422 GB, free: 12.98 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00072/1.038, allocations: 0.8568 MB / 1.423 GB, free: 12.12 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/1.04, allocations: 1.177 MB / 1.424 GB, free: 10.93 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003901/1.043, allocations: 3.028 MB / 1.427 GB, free: 7.895 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.043, allocations: 0 / 1.427 GB, free: 7.895 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.703e-06/1.043, allocations: 0 / 1.427 GB, free: 7.895 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.17e-05/1.043, allocations: 4 kB / 1.427 GB, free: 7.891 MB / 1.154 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.004053/1.048, allocations: 2.948 MB / 1.43 GB, free: 4.875 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.048, allocations: 12.92 kB / 1.43 GB, free: 4.863 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001958/1.048, allocations: 194.6 kB / 1.43 GB, free: 4.664 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/1.049, allocations: 469.8 kB / 1.43 GB, free: 4.203 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/1.053, allocations: 2.782 MB / 1.433 GB, free: 1.352 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.206e-05/1.053, allocations: 94.53 kB / 1.433 GB, free: 1.258 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/1.053, allocations: 132 kB / 1.433 GB, free: 1.129 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/1.055, allocations: 1.595 MB / 1.435 GB, free: 15.39 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/1.055, allocations: 11.94 kB / 1.435 GB, free: 15.38 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-05/1.055, allocations: 52 kB / 1.435 GB, free: 15.33 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.586e-05/1.055, allocations: 89.95 kB / 1.435 GB, free: 15.24 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/1.057, allocations: 1.061 MB / 1.436 GB, free: 14.18 MB / 1.17 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.007699/1.064, allocations: 8.461 MB / 1.444 GB, free: 5.215 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009592/1.065, allocations: 0.7309 MB / 1.445 GB, free: 4.438 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/1.066, allocations: 312.1 kB / 1.445 GB, free: 4.117 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005955/1.067, allocations: 0.6094 MB / 1.446 GB, free: 3.379 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/1.067, allocations: 46.52 kB / 1.446 GB, free: 3.324 MB / 1.17 GB Notification: Performance of pre-optimization done (n=50): time 2.936e-06/1.067, allocations: 0 / 1.446 GB, free: 3.324 MB / 1.17 GB Notification: Performance of matching and sorting (n=50): time 0.001641/1.068, allocations: 0.9915 MB / 1.447 GB, free: 2.324 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.599e-05/1.068, allocations: 162.7 kB / 1.447 GB, free: 2.129 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00492/1.073, allocations: 4.69 MB / 1.452 GB, free: 13.43 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/1.073, allocations: 37.69 kB / 1.452 GB, free: 13.39 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008247/1.074, allocations: 1.075 MB / 1.453 GB, free: 12.3 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/1.074, allocations: 186.3 kB / 1.453 GB, free: 12.12 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/1.074, allocations: 94.23 kB / 1.453 GB, free: 12.02 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.075, allocations: 322 kB / 1.453 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/1.075, allocations: 221 kB / 1.453 GB, free: 11.49 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/1.075, allocations: 318.9 kB / 1.454 GB, free: 11.14 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/1.076, allocations: 0.5649 MB / 1.454 GB, free: 10.55 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.076, allocations: 0 / 1.454 GB, free: 10.55 MB / 1.186 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001176/1.077, allocations: 0.8082 MB / 1.455 GB, free: 9.73 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.077, allocations: 15.92 kB / 1.455 GB, free: 9.715 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.077, allocations: 0 / 1.455 GB, free: 9.715 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.077, allocations: 12.25 kB / 1.455 GB, free: 9.703 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/1.078, allocations: 96 kB / 1.455 GB, free: 9.609 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.078, allocations: 11.88 kB / 1.455 GB, free: 9.598 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007153/1.078, allocations: 99.17 kB / 1.455 GB, free: 9.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/1.079, allocations: 20 kB / 1.455 GB, free: 9.48 MB / 1.186 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.0006383/1.079, allocations: 0.5405 MB / 1.456 GB, free: 8.93 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/1.08, allocations: 246.4 kB / 1.456 GB, free: 8.688 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/1.081, allocations: 0.8079 MB / 1.457 GB, free: 7.875 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.081, allocations: 4 kB / 1.457 GB, free: 7.871 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.081, allocations: 4 kB / 1.457 GB, free: 7.867 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/1.081, allocations: 3.984 kB / 1.457 GB, free: 7.863 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/1.084, allocations: 2.088 MB / 1.459 GB, free: 5.699 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.084, allocations: 8 kB / 1.459 GB, free: 5.691 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/1.084, allocations: 99.88 kB / 1.459 GB, free: 5.594 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.084, allocations: 4 kB / 1.459 GB, free: 5.59 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/1.084, allocations: 12 kB / 1.459 GB, free: 5.578 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.084, allocations: 4 kB / 1.459 GB, free: 5.574 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.084, allocations: 11.88 kB / 1.459 GB, free: 5.562 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/1.086, allocations: 1.283 MB / 1.46 GB, free: 4.242 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007481/1.086, allocations: 431.2 kB / 1.461 GB, free: 3.801 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/1.087, allocations: 12 kB / 1.461 GB, free: 3.789 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/1.087, allocations: 19.98 kB / 1.461 GB, free: 3.77 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/1.087, allocations: 44.27 kB / 1.461 GB, free: 3.727 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/1.087, allocations: 16 kB / 1.461 GB, free: 3.711 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003536/1.091, allocations: 3.51 MB / 1.464 GB, free: 200 kB / 1.186 GB Notification: Performance of sort global known variables: time 1.7e-07/1.091, allocations: 4 kB / 1.464 GB, free: 196 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.001071/1.092, allocations: 479.1 kB / 1.465 GB, free: 15.72 MB / 1.201 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.003042/1.095, allocations: 2.266 MB / 1.467 GB, free: 13.55 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009011/1.096, allocations: 0.5294 MB / 1.467 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.096, allocations: 3.938 kB / 1.467 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/1.096, allocations: 294.3 kB / 1.468 GB, free: 12.73 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/1.1, allocations: 0.8594 MB / 1.469 GB, free: 11.88 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02326/1.123, allocations: 19.4 MB / 1.488 GB, free: 8.215 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/1.125, allocations: 1.646 MB / 1.489 GB, free: 6.539 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001321/1.126, allocations: 466.1 kB / 1.49 GB, free: 6.082 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.127, allocations: 0.9406 MB / 1.49 GB, free: 5.141 MB / 1.217 GB Notification: Performance of SimCode: time 7.01e-07/1.127, allocations: 3.938 kB / 1.49 GB, free: 5.137 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08432/1.211, allocations: 46.57 MB / 1.536 GB, free: 6.973 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.67, allocations: 14.64 kB / 1.536 GB, free: 6.961 MB / 1.264 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches