Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.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: translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005615/0.005615, allocations: 95.45 kB / 15.73 MB, free: 6.039 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.00139/0.00139, allocations: 205.5 kB / 16.68 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.665/2.665, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 60.14 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2757, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.7797/1.055, allocations: 214.2 MB / 1.43 GB, free: 13.09 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01532/1.071, allocations: 10.21 MB / 1.44 GB, free: 4.805 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/1.073, allocations: 42.47 kB / 1.44 GB, free: 4.781 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002393/1.075, allocations: 0.8781 MB / 1.441 GB, free: 3.898 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.007355/1.082, allocations: 2.98 MB / 1.444 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003813/1.086, allocations: 1.434 MB / 1.445 GB, free: 15.47 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004353/1.09, allocations: 3.175 MB / 1.448 GB, free: 12.29 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/1.092, allocations: 0.8425 MB / 1.449 GB, free: 11.43 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/1.094, allocations: 1.168 MB / 1.45 GB, free: 10.25 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/1.096, allocations: 1.073 MB / 1.451 GB, free: 9.188 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003049/1.097, allocations: 124 kB / 1.451 GB, free: 9.066 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004962/1.102, allocations: 2.743 MB / 1.454 GB, free: 6.316 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005968/1.102, allocations: 0.5062 MB / 1.454 GB, free: 5.809 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009127/1.103, allocations: 0.7273 MB / 1.455 GB, free: 5.078 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004579/1.108, allocations: 2.82 MB / 1.458 GB, free: 2.25 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.108, allocations: 7.984 kB / 1.458 GB, free: 2.242 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.182e-06/1.108, allocations: 0 / 1.458 GB, free: 2.242 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.838e-05/1.108, allocations: 0 / 1.458 GB, free: 2.242 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003826/1.112, allocations: 1.828 MB / 1.46 GB, free: 364 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/1.112, allocations: 12.03 kB / 1.46 GB, free: 352 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/1.115, allocations: 434.8 kB / 1.46 GB, free: 15.92 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/1.116, allocations: 0.9026 MB / 1.461 GB, free: 14.97 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/1.116, allocations: 68.38 kB / 1.461 GB, free: 14.91 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/1.116, allocations: 99.98 kB / 1.461 GB, free: 14.81 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/1.118, allocations: 1.202 MB / 1.462 GB, free: 13.57 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/1.118, allocations: 7.891 kB / 1.462 GB, free: 13.57 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-05/1.118, allocations: 47.98 kB / 1.462 GB, free: 13.52 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.64e-05/1.118, allocations: 53.92 kB / 1.462 GB, free: 13.47 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/1.12, allocations: 1.07 MB / 1.463 GB, free: 12.4 MB / 1.154 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.005275/1.125, allocations: 4.756 MB / 1.468 GB, free: 7.246 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/1.127, allocations: 0.9562 MB / 1.469 GB, free: 6.254 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/1.128, allocations: 0.5674 MB / 1.47 GB, free: 5.68 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006076/1.128, allocations: 0.6694 MB / 1.47 GB, free: 4.863 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/1.128, allocations: 51.2 kB / 1.47 GB, free: 4.805 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.896e-06/1.128, allocations: 0 / 1.47 GB, free: 4.805 MB / 1.154 GB Notification: Performance of matching and sorting (n=83): time 0.004137/1.133, allocations: 2.314 MB / 1.472 GB, free: 2.445 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/1.133, allocations: 60.41 kB / 1.473 GB, free: 2.375 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007492/1.133, allocations: 0.645 MB / 1.473 GB, free: 1.719 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/1.133, allocations: 45.64 kB / 1.473 GB, free: 1.668 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/1.134, allocations: 460.9 kB / 1.474 GB, free: 1.211 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/1.134, allocations: 317.2 kB / 1.474 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/1.134, allocations: 130.7 kB / 1.474 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.134, allocations: 394.7 kB / 1.474 GB, free: 376 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/1.135, allocations: 317.8 kB / 1.475 GB, free: 60 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/1.135, allocations: 426.5 kB / 1.475 GB, free: 15.62 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/1.137, allocations: 0.7846 MB / 1.476 GB, free: 14.8 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.137, allocations: 4 kB / 1.476 GB, free: 14.8 MB / 1.17 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001502/1.138, allocations: 0.9469 MB / 1.477 GB, free: 13.84 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/1.138, allocations: 8 kB / 1.477 GB, free: 13.84 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.138, allocations: 0 / 1.477 GB, free: 13.84 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/1.138, allocations: 60.77 kB / 1.477 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/1.139, allocations: 159.7 kB / 1.477 GB, free: 13.62 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004506/1.139, allocations: 0.6077 MB / 1.478 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007725/1.14, allocations: 31.88 kB / 1.478 GB, free: 12.95 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/1.14, allocations: 21.06 kB / 1.478 GB, free: 12.93 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004532/1.141, allocations: 312.8 kB / 1.478 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/1.141, allocations: 91.44 kB / 1.478 GB, free: 12.53 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/1.142, allocations: 0.9169 MB / 1.479 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/1.142, allocations: 15.92 kB / 1.479 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.142, allocations: 3.938 kB / 1.479 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001209/1.144, allocations: 0.931 MB / 1.48 GB, free: 10.61 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/1.147, allocations: 2.114 MB / 1.482 GB, free: 8.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.147, allocations: 0 / 1.482 GB, free: 8.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009448/1.148, allocations: 191.4 kB / 1.482 GB, free: 8.246 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/1.148, allocations: 4 kB / 1.482 GB, free: 8.242 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/1.148, allocations: 27.92 kB / 1.482 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/1.148, allocations: 0 / 1.482 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.148, allocations: 0 / 1.482 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/1.15, allocations: 1.397 MB / 1.484 GB, free: 6.805 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/1.15, allocations: 252.4 kB / 1.484 GB, free: 6.539 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/1.15, allocations: 27.91 kB / 1.484 GB, free: 6.512 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006775/1.151, allocations: 20 kB / 1.484 GB, free: 6.492 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.151, allocations: 52.92 kB / 1.484 GB, free: 6.438 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/1.151, allocations: 23.98 kB / 1.484 GB, free: 6.414 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005288/1.151, allocations: 459 kB / 1.484 GB, free: 5.969 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.151, allocations: 0 / 1.484 GB, free: 5.969 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008021/1.152, allocations: 323.9 kB / 1.485 GB, free: 5.652 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.0003229/1.153, allocations: 212.5 kB / 1.485 GB, free: 5.438 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001309/1.154, allocations: 0.7738 MB / 1.486 GB, free: 4.668 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.154, allocations: 0 / 1.486 GB, free: 4.668 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005897/1.155, allocations: 413.6 kB / 1.486 GB, free: 4.266 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/1.157, allocations: 0.5979 MB / 1.487 GB, free: 3.695 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/1.16, allocations: 2.315 MB / 1.489 GB, free: 1.348 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/1.161, allocations: 1.12 MB / 1.49 GB, free: 200 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008261/1.162, allocations: 247.8 kB / 1.49 GB, free: 15.95 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/1.162, allocations: 83.44 kB / 1.49 GB, free: 15.87 MB / 1.186 GB Notification: Performance of SimCode: time 8.32e-07/1.162, allocations: 3.938 kB / 1.49 GB, free: 15.86 MB / 1.186 GB Notification: Performance of Templates: time 0.03042/1.192, allocations: 20.8 MB / 1.511 GB, free: 11.34 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches