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.007338/0.007338, allocations: 98.5 kB / 15.73 MB, free: 5.949 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.002151/0.002151, allocations: 196.2 kB / 16.68 MB, free: 5.871 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.226/1.226, 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.181/2.181, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 72.09 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5803/0.5819, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2018/0.7837, allocations: 218.2 MB / 1.379 GB, free: 8.738 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02701/0.8108, allocations: 26.46 MB / 1.405 GB, free: 14.19 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009509/0.8118, allocations: 31.81 kB / 1.405 GB, free: 14.16 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.8138, allocations: 1.158 MB / 1.406 GB, free: 13 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005446/0.8193, allocations: 3.133 MB / 1.409 GB, free: 9.852 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.8224, allocations: 1.663 MB / 1.411 GB, free: 8.191 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003602/0.826, allocations: 3.85 MB / 1.415 GB, free: 4.332 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.8276, allocations: 1.453 MB / 1.416 GB, free: 2.84 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/0.8306, allocations: 2.292 MB / 1.418 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.8321, allocations: 1.471 MB / 1.42 GB, free: 15.06 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.8323, allocations: 124 kB / 1.42 GB, free: 14.94 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.835, allocations: 1.784 MB / 1.422 GB, free: 13.16 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006561/0.8356, allocations: 0.8529 MB / 1.422 GB, free: 12.3 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009876/0.8366, allocations: 1.181 MB / 1.424 GB, free: 11.11 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.8396, allocations: 3.027 MB / 1.427 GB, free: 8.074 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.8396, allocations: 0 / 1.427 GB, free: 8.074 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8396, allocations: 0 / 1.427 GB, free: 8.074 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.8396, allocations: 0 / 1.427 GB, free: 8.074 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.003523/0.8431, allocations: 2.952 MB / 1.429 GB, free: 5.055 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.8432, allocations: 8.625 kB / 1.429 GB, free: 5.047 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.8434, allocations: 202.5 kB / 1.43 GB, free: 4.84 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.8448, allocations: 465.8 kB / 1.43 GB, free: 4.383 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.8477, allocations: 2.771 MB / 1.433 GB, free: 1.543 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.8478, allocations: 98.52 kB / 1.433 GB, free: 1.445 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.8479, allocations: 128 kB / 1.433 GB, free: 1.32 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.8499, allocations: 1.595 MB / 1.435 GB, free: 15.58 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/0.85, allocations: 11.94 kB / 1.435 GB, free: 15.57 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-05/0.85, allocations: 51.98 kB / 1.435 GB, free: 15.52 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.601e-05/0.8501, allocations: 97.95 kB / 1.435 GB, free: 15.42 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.8516, allocations: 1.057 MB / 1.436 GB, free: 14.37 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.006672/0.8583, allocations: 8.457 MB / 1.444 GB, free: 5.406 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009066/0.8592, allocations: 0.7348 MB / 1.445 GB, free: 4.625 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.8596, allocations: 308.2 kB / 1.445 GB, free: 4.309 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005068/0.8602, allocations: 0.6133 MB / 1.446 GB, free: 3.566 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.8602, allocations: 42.52 kB / 1.446 GB, free: 3.516 MB / 1.17 GB Notification: Performance of pre-optimization done (n=50): time 1.463e-06/0.8602, allocations: 0 / 1.446 GB, free: 3.516 MB / 1.17 GB Notification: Performance of matching and sorting (n=50): time 0.001454/0.8617, allocations: 0.9997 MB / 1.447 GB, free: 2.508 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.8617, allocations: 162.2 kB / 1.447 GB, free: 2.312 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004649/0.8664, allocations: 4.69 MB / 1.451 GB, free: 13.61 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.8665, allocations: 37.7 kB / 1.451 GB, free: 13.56 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008221/0.8673, allocations: 1.075 MB / 1.452 GB, free: 12.48 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.8674, allocations: 186.3 kB / 1.453 GB, free: 12.3 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.8675, allocations: 98.36 kB / 1.453 GB, free: 12.2 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.8677, allocations: 322 kB / 1.453 GB, free: 11.88 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.868, allocations: 221 kB / 1.453 GB, free: 11.66 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.8684, allocations: 322.9 kB / 1.454 GB, free: 11.32 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/0.8692, allocations: 0.5571 MB / 1.454 GB, free: 10.73 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.8692, allocations: 4 kB / 1.454 GB, free: 10.72 MB / 1.186 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001066/0.8703, allocations: 0.8043 MB / 1.455 GB, free: 9.91 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8703, allocations: 10.44 kB / 1.455 GB, free: 9.902 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.8703, allocations: 7.984 kB / 1.455 GB, free: 9.895 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.8703, allocations: 4 kB / 1.455 GB, free: 9.891 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.8707, allocations: 103.9 kB / 1.455 GB, free: 9.789 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.8707, allocations: 7.938 kB / 1.455 GB, free: 9.781 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.8713, allocations: 99.17 kB / 1.455 GB, free: 9.684 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.8713, allocations: 20 kB / 1.455 GB, free: 9.664 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.0005841/0.8719, allocations: 0.5406 MB / 1.456 GB, free: 9.113 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.8722, allocations: 246.3 kB / 1.456 GB, free: 8.871 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.8734, allocations: 0.804 MB / 1.457 GB, free: 8.062 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.8734, allocations: 8 kB / 1.457 GB, free: 8.055 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8734, allocations: 0 / 1.457 GB, free: 8.055 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.8734, allocations: 7.984 kB / 1.457 GB, free: 8.047 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.8758, allocations: 2.092 MB / 1.459 GB, free: 5.879 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8758, allocations: 0 / 1.459 GB, free: 5.879 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.8762, allocations: 100.1 kB / 1.459 GB, free: 5.781 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.8762, allocations: 8 kB / 1.459 GB, free: 5.773 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.8763, allocations: 16 kB / 1.459 GB, free: 5.758 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.8763, allocations: 4 kB / 1.459 GB, free: 5.754 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8763, allocations: 3.938 kB / 1.459 GB, free: 5.75 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.8778, allocations: 1.279 MB / 1.46 GB, free: 4.434 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005237/0.8784, allocations: 435.2 kB / 1.461 GB, free: 3.988 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.8786, allocations: 8 kB / 1.461 GB, free: 3.98 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.8791, allocations: 27.98 kB / 1.461 GB, free: 3.953 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.8792, allocations: 44.27 kB / 1.461 GB, free: 3.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.8792, allocations: 16 kB / 1.461 GB, free: 3.895 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003401/0.8826, allocations: 3.51 MB / 1.464 GB, free: 388 kB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8827, allocations: 0 / 1.464 GB, free: 388 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008366/0.8835, allocations: 475.2 kB / 1.465 GB, free: 15.91 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.003201/0.8867, allocations: 2.272 MB / 1.467 GB, free: 13.74 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007851/0.8875, allocations: 0.5371 MB / 1.467 GB, free: 13.2 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8875, allocations: 0 / 1.467 GB, free: 13.2 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.8879, allocations: 291.2 kB / 1.468 GB, free: 12.92 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/0.8909, allocations: 0.8571 MB / 1.468 GB, free: 12.06 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/0.9117, allocations: 19.4 MB / 1.487 GB, free: 8.395 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.9129, allocations: 1.643 MB / 1.489 GB, free: 6.723 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009502/0.9139, allocations: 470.1 kB / 1.489 GB, free: 6.262 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009797/0.9149, allocations: 0.9445 MB / 1.49 GB, free: 5.316 MB / 1.217 GB Notification: Performance of SimCode: time 2.2e-07/0.9149, allocations: 0 / 1.49 GB, free: 5.316 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.404/5.319, allocations: 46.56 MB / 1.536 GB, free: 7.156 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/19.56, allocations: 16.83 kB / 1.536 GB, free: 7.141 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=400 --tolerance=1e-06 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.mat","/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