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.293/2.293, allocations: 390.5 MB / 398 MB, free: 10.94 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.001003/0.001003, allocations: 172.8 kB / 491.2 MB, free: 1.57 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.555/1.555, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.000909/0.0009089, allocations: 95.77 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.782e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2886, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.772/6.06, allocations: 1.923 GB / 3.135 GB, free: 406.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/6.061, allocations: 87.95 kB / 3.135 GB, free: 406.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.21/8.27, allocations: 0.8055 GB / 3.941 GB, free: 15.55 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.047e-06/8.271, allocations: 7.984 kB / 3.941 GB, free: 15.54 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000177/8.271, allocations: 31.98 kB / 3.941 GB, free: 15.51 MB / 1.151 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.006615/8.277, allocations: 1.578 MB / 3.942 GB, free: 13.89 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/8.277, allocations: 12.03 kB / 3.942 GB, free: 13.88 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/8.281, allocations: 422 kB / 3.943 GB, free: 13.46 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/8.283, allocations: 0.8907 MB / 3.944 GB, free: 12.53 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/8.283, allocations: 35.95 kB / 3.944 GB, free: 12.49 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/8.284, allocations: 56 kB / 3.944 GB, free: 12.44 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001623/8.285, allocations: 0.8942 MB / 3.945 GB, free: 11.54 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/8.287, allocations: 1.024 MB / 3.946 GB, free: 10.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/8.287, allocations: 4 kB / 3.946 GB, free: 10.48 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-05/8.287, allocations: 0 / 3.946 GB, free: 10.48 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/8.287, allocations: 49.98 kB / 3.946 GB, free: 10.43 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005925/8.293, allocations: 4.813 MB / 3.95 GB, free: 5.23 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/8.294, allocations: 0.9151 MB / 3.951 GB, free: 4.262 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008045/8.295, allocations: 0.5508 MB / 3.952 GB, free: 3.707 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005807/8.296, allocations: 0.6812 MB / 3.953 GB, free: 2.879 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/8.296, allocations: 43.34 kB / 3.953 GB, free: 2.824 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 2.715e-06/8.296, allocations: 0 / 3.953 GB, free: 2.824 MB / 1.151 GB Notification: Performance of matching and sorting (n=83): time 0.004115/8.3, allocations: 2.043 MB / 3.955 GB, free: 0.7305 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/8.3, allocations: 60.19 kB / 3.955 GB, free: 0.6602 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/8.3, allocations: 487.7 kB / 3.955 GB, free: 180 kB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/8.3, allocations: 33.7 kB / 3.955 GB, free: 140 kB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.8132/9.114, allocations: 448.4 kB / 3.956 GB, free: 223.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005634/9.114, allocations: 281.5 kB / 3.956 GB, free: 223.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/9.114, allocations: 3.75 kB / 3.956 GB, free: 223.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001772/9.114, allocations: 392.3 kB / 3.956 GB, free: 223.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000703/9.115, allocations: 331.9 kB / 3.957 GB, free: 223.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/9.116, allocations: 451.3 kB / 3.957 GB, free: 223.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008624/9.117, allocations: 410.6 kB / 3.957 GB, free: 223.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/9.117, allocations: 1 kB / 3.957 GB, free: 223.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001913/9.119, allocations: 0.9449 MB / 3.958 GB, free: 223.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/9.119, allocations: 9.844 kB / 3.958 GB, free: 223.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/9.119, allocations: 2.344 kB / 3.958 GB, free: 223.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/9.119, allocations: 50.42 kB / 3.958 GB, free: 223.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008041/9.12, allocations: 170.6 kB / 3.958 GB, free: 223.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004594/9.12, allocations: 0.6237 MB / 3.959 GB, free: 222.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/9.122, allocations: 92.81 kB / 3.959 GB, free: 222.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.04e-05/9.122, allocations: 28.2 kB / 3.959 GB, free: 222.8 MB / 1.151 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 () * 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 (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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001954/9.122, allocations: 121 kB / 3.959 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/9.122, allocations: 86.84 kB / 3.959 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/9.124, allocations: 0.9453 MB / 3.96 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/9.124, allocations: 12.45 kB / 3.96 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/9.124, allocations: 0 / 3.96 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/9.125, allocations: 0.9595 MB / 3.961 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/9.129, allocations: 2.087 MB / 3.963 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/9.129, allocations: 0 / 3.963 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/9.13, allocations: 200.2 kB / 3.963 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/9.13, allocations: 2.969 kB / 3.963 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/9.131, allocations: 10.17 kB / 3.964 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/9.131, allocations: 7.125 kB / 3.964 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/9.131, allocations: 3.938 kB / 3.964 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/9.133, allocations: 1.379 MB / 3.965 GB, free: 221.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005871/9.133, allocations: 259.2 kB / 3.965 GB, free: 221.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/9.134, allocations: 5.844 kB / 3.965 GB, free: 221.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009081/9.134, allocations: 74.39 kB / 3.965 GB, free: 221.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/9.135, allocations: 47.44 kB / 3.965 GB, free: 221.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.189e-05/9.135, allocations: 30.59 kB / 3.965 GB, free: 221.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005873/9.135, allocations: 383.5 kB / 3.966 GB, free: 221.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.31e-07/9.135, allocations: 0.8125 kB / 3.966 GB, free: 221.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001962/9.137, allocations: 431.1 kB / 3.966 GB, free: 221.6 MB / 1.151 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 () * 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.003805/9.141, allocations: 2.236 MB / 3.968 GB, free: 221 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001825/9.143, allocations: 0.8332 MB / 3.969 GB, free: 220.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/9.143, allocations: 3.906 kB / 3.969 GB, free: 220.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006762/9.144, allocations: 444.3 kB / 3.969 GB, free: 220.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/9.147, allocations: 0.5043 MB / 3.97 GB, free: 220.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/9.151, allocations: 1.9 MB / 3.972 GB, free: 220.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/9.152, allocations: 1.145 MB / 3.973 GB, free: 219.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001876/9.154, allocations: 266 kB / 3.973 GB, free: 219.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/9.154, allocations: 86.53 kB / 3.973 GB, free: 219.8 MB / 1.151 GB Notification: Performance of SimCode: time 3.536e-06/9.154, allocations: 0 / 3.973 GB, free: 219.8 MB / 1.151 GB Notification: Performance of Templates: time 0.0568/9.211, allocations: 28.7 MB / 4.001 GB, free: 219.2 MB / 1.151 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