Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000894/0.0008941, allocations: 86.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.356e-05/3.391e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2419, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.65/1.892, allocations: 441.9 MB / 1.323 GB, free: 297.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/1.892, allocations: 87.95 kB / 1.323 GB, free: 297.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5732/2.465, allocations: 281.4 MB / 1.598 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.804e-06/2.465, allocations: 0 / 1.598 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001761/2.465, allocations: 39.98 kB / 1.598 GB, free: 12.76 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.006021/2.471, allocations: 1.855 MB / 1.6 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/2.472, allocations: 12.03 kB / 1.6 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/2.473, allocations: 197.7 kB / 1.6 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00367/2.476, allocations: 1.359 MB / 1.602 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/2.477, allocations: 115 kB / 1.602 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005762/2.477, allocations: 148 kB / 1.602 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004315/2.482, allocations: 1.829 MB / 1.604 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/2.482, allocations: 4 kB / 1.604 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002637/2.482, allocations: 60 kB / 1.604 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/2.482, allocations: 39.98 kB / 1.604 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/2.486, allocations: 2.362 MB / 1.606 GB, free: 4.641 MB / 0.8698 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.681/3.167, allocations: 4.975 MB / 1.611 GB, free: 188 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005148/3.172, allocations: 2.721 MB / 1.614 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/3.175, allocations: 1.375 MB / 1.615 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/3.176, allocations: 1.734 MB / 1.617 GB, free: 186 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/3.176, allocations: 62.19 kB / 1.617 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=237): time 4.709e-06/3.176, allocations: 1.312 kB / 1.617 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=237): time 0.004727/3.181, allocations: 2.219 MB / 1.619 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/3.181, allocations: 80.91 kB / 1.619 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/3.183, allocations: 0.6943 MB / 1.62 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/3.183, allocations: 67.98 kB / 1.62 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004117/3.183, allocations: 483.7 kB / 1.62 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007708/3.184, allocations: 0.7919 MB / 1.621 GB, free: 185 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/3.184, allocations: 41.97 kB / 1.621 GB, free: 185 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000175/3.184, allocations: 391.8 kB / 1.621 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/3.186, allocations: 0.8552 MB / 1.622 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/3.188, allocations: 1.07 MB / 1.623 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/3.19, allocations: 1.044 MB / 1.624 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/3.19, allocations: 0.9375 kB / 1.624 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004157/3.194, allocations: 2.34 MB / 1.626 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/3.194, allocations: 8.969 kB / 1.626 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/3.194, allocations: 3.688 kB / 1.626 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.512e-05/3.194, allocations: 12.62 kB / 1.626 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/3.196, allocations: 442.3 kB / 1.627 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.405e-05/3.196, allocations: 13.81 kB / 1.627 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/3.197, allocations: 214.8 kB / 1.627 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/3.198, allocations: 70.94 kB / 1.627 GB, free: 184.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * 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 prepare postOptimizeDAE: time 0.0003388/3.198, allocations: 218.7 kB / 1.627 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/3.198, allocations: 145.7 kB / 1.627 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/3.203, allocations: 2.65 MB / 1.63 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/3.203, allocations: 22.7 kB / 1.63 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/3.203, allocations: 1.125 kB / 1.63 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003604/3.207, allocations: 2.296 MB / 1.632 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008161/3.215, allocations: 4.21 MB / 1.636 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/3.215, allocations: 2 kB / 1.636 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/3.217, allocations: 409.9 kB / 1.637 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006328/3.218, allocations: 99.73 kB / 1.637 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/3.218, allocations: 49.69 kB / 1.637 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006342/3.219, allocations: 1.116 MB / 1.638 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/3.219, allocations: 2.562 kB / 1.638 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007006/3.226, allocations: 3.952 MB / 1.642 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/3.227, allocations: 0.4889 MB / 1.642 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/3.227, allocations: 40.73 kB / 1.642 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/3.228, allocations: 105.4 kB / 1.643 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003538/3.229, allocations: 138.6 kB / 1.643 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/3.229, allocations: 76.38 kB / 1.643 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009369/3.23, allocations: 0.5521 MB / 1.643 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.21e-07/3.23, allocations: 2.25 kB / 1.643 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002339/3.232, allocations: 0.6896 MB / 1.644 GB, free: 181.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001169/3.234, allocations: 0.5795 MB / 1.645 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004159/3.238, allocations: 2.223 MB / 1.647 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/3.238, allocations: 0 / 1.647 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002273/3.24, allocations: 1.239 MB / 1.648 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/3.243, allocations: 0.5035 MB / 1.648 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/3.249, allocations: 3.194 MB / 1.652 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/3.25, allocations: 1.366 MB / 1.653 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002836/3.253, allocations: 0.7229 MB / 1.654 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005573/3.254, allocations: 156.5 kB / 1.654 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.134e-06/3.254, allocations: 0 / 1.654 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.05202/3.306, allocations: 28.88 MB / 1.682 GB, free: 179.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches