Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_11_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.005037/0.005037, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001284/0.001284, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.805/2.805, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 67.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8328/0.8346, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2563/1.091, allocations: 218.2 MB / 1.433 GB, free: 6.984 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03838/1.129, allocations: 26.47 MB / 1.459 GB, free: 12.43 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/1.131, allocations: 31.81 kB / 1.459 GB, free: 12.4 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003308/1.135, allocations: 1.158 MB / 1.46 GB, free: 11.24 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.008596/1.143, allocations: 3.129 MB / 1.463 GB, free: 8.094 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004696/1.148, allocations: 1.663 MB / 1.465 GB, free: 6.434 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006793/1.155, allocations: 3.859 MB / 1.469 GB, free: 2.562 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003518/1.158, allocations: 1.445 MB / 1.47 GB, free: 1.082 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00637/1.165, allocations: 2.296 MB / 1.472 GB, free: 14.78 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/1.167, allocations: 1.463 MB / 1.474 GB, free: 13.31 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004496/1.168, allocations: 124 kB / 1.474 GB, free: 13.19 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004562/1.173, allocations: 1.78 MB / 1.476 GB, free: 11.41 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001126/1.174, allocations: 0.8567 MB / 1.476 GB, free: 10.55 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002283/1.176, allocations: 1.177 MB / 1.478 GB, free: 9.363 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005701/1.182, allocations: 3.023 MB / 1.481 GB, free: 6.328 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.182, allocations: 0 / 1.481 GB, free: 6.328 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.964e-06/1.182, allocations: 0 / 1.481 GB, free: 6.328 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001298/1.182, allocations: 4 kB / 1.481 GB, free: 6.324 MB / 1.201 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.00613/1.188, allocations: 2.956 MB / 1.483 GB, free: 3.301 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.188, allocations: 8.031 kB / 1.483 GB, free: 3.293 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003427/1.188, allocations: 202.6 kB / 1.484 GB, free: 3.086 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/1.19, allocations: 457.8 kB / 1.484 GB, free: 2.637 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004022/1.195, allocations: 2.767 MB / 1.487 GB, free: 15.8 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-05/1.195, allocations: 102.5 kB / 1.487 GB, free: 15.7 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/1.195, allocations: 131.9 kB / 1.487 GB, free: 15.57 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/1.197, allocations: 1.595 MB / 1.489 GB, free: 13.83 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/1.197, allocations: 11.88 kB / 1.489 GB, free: 13.82 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.893e-05/1.197, allocations: 55.98 kB / 1.489 GB, free: 13.76 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/1.198, allocations: 93.91 kB / 1.489 GB, free: 13.67 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/1.199, allocations: 1.064 MB / 1.49 GB, free: 12.61 MB / 1.217 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.008968/1.208, allocations: 8.462 MB / 1.498 GB, free: 3.641 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/1.209, allocations: 0.7388 MB / 1.499 GB, free: 2.855 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/1.21, allocations: 308.1 kB / 1.499 GB, free: 2.539 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006453/1.211, allocations: 0.6052 MB / 1.5 GB, free: 1.805 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/1.211, allocations: 50.48 kB / 1.5 GB, free: 1.746 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 3.026e-06/1.211, allocations: 0 / 1.5 GB, free: 1.746 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.001898/1.213, allocations: 0.988 MB / 1.501 GB, free: 0.75 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/1.213, allocations: 158.2 kB / 1.501 GB, free: 0.5586 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006124/1.219, allocations: 4.694 MB / 1.505 GB, free: 11.85 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/1.219, allocations: 33.7 kB / 1.505 GB, free: 11.81 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/1.22, allocations: 1.072 MB / 1.506 GB, free: 10.73 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/1.22, allocations: 194.2 kB / 1.507 GB, free: 10.55 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/1.22, allocations: 98.2 kB / 1.507 GB, free: 10.45 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.22, allocations: 326 kB / 1.507 GB, free: 10.12 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/1.221, allocations: 216.9 kB / 1.507 GB, free: 9.906 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004985/1.221, allocations: 322.9 kB / 1.508 GB, free: 9.562 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008994/1.222, allocations: 0.5493 MB / 1.508 GB, free: 8.98 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.222, allocations: 4 kB / 1.508 GB, free: 8.977 MB / 1.232 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001516/1.224, allocations: 0.8198 MB / 1.509 GB, free: 8.148 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/1.224, allocations: 9.969 kB / 1.509 GB, free: 8.141 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.224, allocations: 4 kB / 1.509 GB, free: 8.137 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.224, allocations: 4 kB / 1.509 GB, free: 8.133 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/1.224, allocations: 111.8 kB / 1.509 GB, free: 8.023 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/1.224, allocations: 4.109 kB / 1.509 GB, free: 8.02 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008646/1.225, allocations: 103.4 kB / 1.509 GB, free: 7.918 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/1.225, allocations: 20 kB / 1.509 GB, free: 7.898 MB / 1.232 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.000779/1.226, allocations: 0.5404 MB / 1.51 GB, free: 7.348 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005019/1.227, allocations: 246.3 kB / 1.51 GB, free: 7.105 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/1.228, allocations: 0.804 MB / 1.511 GB, free: 6.297 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.228, allocations: 8 kB / 1.511 GB, free: 6.289 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.228, allocations: 0 / 1.511 GB, free: 6.289 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/1.228, allocations: 8 kB / 1.511 GB, free: 6.281 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003505/1.232, allocations: 2.088 MB / 1.513 GB, free: 4.113 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.232, allocations: 192 / 1.513 GB, free: 4.113 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/1.232, allocations: 103.8 kB / 1.513 GB, free: 4.012 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/1.232, allocations: 4 kB / 1.513 GB, free: 4.008 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/1.232, allocations: 19.98 kB / 1.513 GB, free: 3.988 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.232, allocations: 4 kB / 1.513 GB, free: 3.984 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.232, allocations: 0 / 1.513 GB, free: 3.984 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/1.234, allocations: 1.283 MB / 1.514 GB, free: 2.664 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/1.235, allocations: 431.2 kB / 1.515 GB, free: 2.223 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/1.235, allocations: 15.94 kB / 1.515 GB, free: 2.207 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006174/1.236, allocations: 23.98 kB / 1.515 GB, free: 2.184 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/1.236, allocations: 36.33 kB / 1.515 GB, free: 2.148 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/1.236, allocations: 20.09 kB / 1.515 GB, free: 2.129 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.004128/1.24, allocations: 3.506 MB / 1.518 GB, free: 14.62 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.8e-07/1.24, allocations: 0 / 1.518 GB, free: 14.62 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001123/1.241, allocations: 475.1 kB / 1.519 GB, free: 14.15 MB / 1.248 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.0039/1.245, allocations: 2.279 MB / 1.521 GB, free: 11.97 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009867/1.246, allocations: 0.5293 MB / 1.521 GB, free: 11.44 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.246, allocations: 0 / 1.521 GB, free: 11.44 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0004758/1.247, allocations: 299 kB / 1.522 GB, free: 11.14 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.25, allocations: 0.8627 MB / 1.522 GB, free: 10.28 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0272/1.277, allocations: 19.4 MB / 1.541 GB, free: 6.609 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/1.279, allocations: 1.636 MB / 1.543 GB, free: 4.941 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001327/1.28, allocations: 466.1 kB / 1.543 GB, free: 4.484 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.281, allocations: 0.9367 MB / 1.544 GB, free: 3.547 MB / 1.264 GB Notification: Performance of SimCode: time 7.52e-07/1.281, allocations: 4 kB / 1.544 GB, free: 3.543 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7151/1.996, allocations: 46.55 MB / 1.59 GB, free: 330.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.76/27.76, allocations: 8.375 kB / 1.59 GB, free: 330.9 MB / 1.279 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches