Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.385/2.385, allocations: 393.5 MB / 408.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 176 kB / 0.4902 GB, free: 2.227 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 223.2 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009966/0.0009972, allocations: 100.5 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004785, allocations: 7.219 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4122, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.235/5.647, allocations: 1.924 GB / 3.153 GB, free: 29.82 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/5.648, allocations: 95.81 kB / 3.153 GB, free: 29.76 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.482/9.13, allocations: 0.8147 GB / 3.968 GB, free: 116.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.683e-06/9.13, allocations: 0 / 3.968 GB, free: 116.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001621/9.13, allocations: 32.12 kB / 3.968 GB, free: 116.9 MB / 1.167 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.007757/9.138, allocations: 1.755 MB / 3.969 GB, free: 115.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.799e-05/9.138, allocations: 16.5 kB / 3.969 GB, free: 115 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004264/9.142, allocations: 422 kB / 3.97 GB, free: 114.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/9.146, allocations: 0.8829 MB / 3.971 GB, free: 113.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/9.146, allocations: 70 kB / 3.971 GB, free: 113.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004658/9.146, allocations: 99.98 kB / 3.971 GB, free: 113.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/9.15, allocations: 1.188 MB / 3.972 GB, free: 112.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.784e-05/9.15, allocations: 7.844 kB / 3.972 GB, free: 112.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/9.15, allocations: 55.88 kB / 3.972 GB, free: 112.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.937e-05/9.15, allocations: 49.92 kB / 3.972 GB, free: 112.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/9.152, allocations: 1.042 MB / 3.973 GB, free: 111.1 MB / 1.167 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.007877/9.16, allocations: 4.891 MB / 3.978 GB, free: 105.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/9.162, allocations: 0.9495 MB / 3.979 GB, free: 104.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005733/9.162, allocations: 0.6811 MB / 3.98 GB, free: 104 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/9.162, allocations: 43.2 kB / 3.98 GB, free: 104 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 3.186e-06/9.162, allocations: 4 kB / 3.98 GB, free: 104 MB / 1.167 GB Notification: Performance of matching and sorting (n=83): time 0.005949/9.168, allocations: 2.292 MB / 3.982 GB, free: 101.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/9.168, allocations: 60.41 kB / 3.982 GB, free: 101.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/9.169, allocations: 0.5544 MB / 3.982 GB, free: 101 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/9.17, allocations: 41.7 kB / 3.982 GB, free: 101 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/9.17, allocations: 456.1 kB / 3.983 GB, free: 100.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/9.17, allocations: 299.6 kB / 3.983 GB, free: 100.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/9.17, allocations: 16 kB / 3.983 GB, free: 100.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002046/9.171, allocations: 390.8 kB / 3.984 GB, free: 99.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/9.171, allocations: 318.6 kB / 3.984 GB, free: 99.49 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/9.172, allocations: 438 kB / 3.984 GB, free: 99.02 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/9.172, allocations: 386.8 kB / 3.985 GB, free: 98.64 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/9.172, allocations: 4 kB / 3.985 GB, free: 98.64 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001694/9.174, allocations: 0.9502 MB / 3.986 GB, free: 97.68 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/9.174, allocations: 8 kB / 3.986 GB, free: 97.67 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/9.174, allocations: 7.938 kB / 3.986 GB, free: 97.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/9.174, allocations: 73.08 kB / 3.986 GB, free: 97.59 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/9.175, allocations: 151.8 kB / 3.986 GB, free: 97.44 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005426/9.176, allocations: 0.642 MB / 3.986 GB, free: 96.77 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/9.177, allocations: 111.7 kB / 3.987 GB, free: 96.66 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/9.177, allocations: 28 kB / 3.987 GB, free: 96.64 MB / 1.167 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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008569/9.178, allocations: 309.6 kB / 3.987 GB, free: 96.32 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/9.179, allocations: 86.97 kB / 3.987 GB, free: 96.24 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/9.18, allocations: 0.925 MB / 3.988 GB, free: 95.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/9.18, allocations: 11.98 kB / 3.988 GB, free: 95.29 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/9.18, allocations: 0 / 3.988 GB, free: 95.29 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/9.181, allocations: 0.9313 MB / 3.989 GB, free: 94.31 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/9.185, allocations: 2.083 MB / 3.991 GB, free: 92.17 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/9.185, allocations: 0 / 3.991 GB, free: 92.17 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009391/9.186, allocations: 191.8 kB / 3.991 GB, free: 91.98 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/9.186, allocations: 4 kB / 3.991 GB, free: 91.98 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-05/9.186, allocations: 19.98 kB / 3.991 GB, free: 91.96 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/9.186, allocations: 7.953 kB / 3.991 GB, free: 91.95 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/9.186, allocations: 0 / 3.991 GB, free: 91.95 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/9.188, allocations: 1.368 MB / 3.992 GB, free: 90.56 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006349/9.188, allocations: 252 kB / 3.993 GB, free: 90.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/9.189, allocations: 16 kB / 3.993 GB, free: 90.28 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/9.19, allocations: 87.77 kB / 3.993 GB, free: 90.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/9.19, allocations: 52.89 kB / 3.993 GB, free: 90.14 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.413e-05/9.19, allocations: 23.98 kB / 3.993 GB, free: 90.12 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005679/9.19, allocations: 455 kB / 3.993 GB, free: 89.68 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/9.19, allocations: 0 / 3.993 GB, free: 89.68 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001914/9.192, allocations: 0.5038 MB / 3.994 GB, free: 89.18 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003149/9.195, allocations: 1.996 MB / 3.996 GB, free: 87.08 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001431/9.197, allocations: 0.8105 MB / 3.996 GB, free: 86.27 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/9.197, allocations: 8.125 kB / 3.996 GB, free: 86.27 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000558/9.198, allocations: 425.6 kB / 3.997 GB, free: 85.85 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/9.2, allocations: 0.5489 MB / 3.997 GB, free: 85.31 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/9.205, allocations: 2.826 MB / 4 GB, free: 82.45 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/9.205, allocations: 1.144 MB / 4.001 GB, free: 81.27 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001228/9.207, allocations: 255.8 kB / 4.001 GB, free: 81.02 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/9.207, allocations: 79.42 kB / 4.002 GB, free: 80.94 MB / 1.167 GB Notification: Performance of SimCode: time 1.723e-06/9.207, allocations: 0 / 4.002 GB, free: 80.94 MB / 1.167 GB Notification: Performance of Templates: time 0.05713/9.264, allocations: 41.83 MB / 4.042 GB, free: 39.32 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches