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.432/1.432, allocations: 251.9 MB / 266.9 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 179.3 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001095/0.001094, allocations: 94.02 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004062, allocations: 8.75 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3138, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.501, allocations: 441.9 MB / 1.332 GB, free: 7.379 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/1.502, allocations: 88.45 kB / 1.332 GB, free: 7.332 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.332/2.834, allocations: 282.3 MB / 1.607 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.214e-06/2.834, allocations: 0 / 1.607 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002713/2.834, allocations: 36 kB / 1.607 GB, free: 147.9 MB / 0.8855 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.00932/2.844, allocations: 2.099 MB / 1.61 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/2.844, allocations: 8.031 kB / 1.61 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/2.845, allocations: 193.8 kB / 1.61 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005567/2.851, allocations: 1.367 MB / 1.611 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/2.851, allocations: 111 kB / 1.611 GB, free: 144 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/2.852, allocations: 148 kB / 1.611 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006303/2.859, allocations: 1.876 MB / 1.613 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/2.859, allocations: 4 kB / 1.613 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/2.859, allocations: 63.98 kB / 1.613 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/2.859, allocations: 36 kB / 1.613 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004261/2.863, allocations: 2.451 MB / 1.616 GB, free: 139.4 MB / 0.8855 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.01012/2.873, allocations: 4.996 MB / 1.62 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003629/2.877, allocations: 2.781 MB / 1.623 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/2.879, allocations: 1.727 MB / 1.625 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/2.879, allocations: 56.56 kB / 1.625 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=237): time 5.52e-06/2.879, allocations: 4 kB / 1.625 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=237): time 0.006309/2.885, allocations: 3.426 MB / 1.628 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/2.885, allocations: 73.41 kB / 1.628 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/2.887, allocations: 0.7109 MB / 1.629 GB, free: 125 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/2.887, allocations: 65.7 kB / 1.629 GB, free: 125 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/2.887, allocations: 490.1 kB / 1.63 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008105/2.888, allocations: 0.7853 MB / 1.63 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/2.888, allocations: 48 kB / 1.63 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001794/2.889, allocations: 385.9 kB / 1.631 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/2.89, allocations: 0.9019 MB / 1.632 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/2.892, allocations: 1.114 MB / 1.633 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/2.893, allocations: 1.068 MB / 1.634 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/2.893, allocations: 0 / 1.634 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004503/2.898, allocations: 2.433 MB / 1.636 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/2.898, allocations: 8 kB / 1.636 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/2.898, allocations: 7.938 kB / 1.636 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-05/2.898, allocations: 15.94 kB / 1.636 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/2.9, allocations: 435.4 kB / 1.637 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.603e-05/2.9, allocations: 15.94 kB / 1.637 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/2.902, allocations: 214.4 kB / 1.637 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/2.902, allocations: 71.98 kB / 1.637 GB, free: 116.9 MB / 0.8855 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 () * Number of clocked 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.001198/2.903, allocations: 441.3 kB / 1.637 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/2.904, allocations: 158.1 kB / 1.637 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004842/2.908, allocations: 2.721 MB / 1.64 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/2.908, allocations: 24 kB / 1.64 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/2.908, allocations: 0 / 1.64 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003347/2.912, allocations: 2.381 MB / 1.642 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007059/2.919, allocations: 4.291 MB / 1.647 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/2.919, allocations: 0 / 1.647 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/2.921, allocations: 415.5 kB / 1.647 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007235/2.921, allocations: 101.5 kB / 1.647 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/2.922, allocations: 55.98 kB / 1.647 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009103/2.922, allocations: 1.12 MB / 1.648 GB, free: 105 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/2.922, allocations: 4 kB / 1.648 GB, free: 105 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005845/2.928, allocations: 4.065 MB / 1.652 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/2.93, allocations: 0.4907 MB / 1.653 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/2.93, allocations: 44 kB / 1.653 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/2.931, allocations: 111.9 kB / 1.653 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/2.931, allocations: 137.8 kB / 1.653 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/2.932, allocations: 67.97 kB / 1.653 GB, free: 100 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009502/2.933, allocations: 0.5615 MB / 1.654 GB, free: 99.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/2.933, allocations: 0 / 1.654 GB, free: 99.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002528/2.935, allocations: 0.6904 MB / 1.654 GB, free: 98.79 MB / 0.8855 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 () * Number of clocked 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.001318/2.936, allocations: 0.5761 MB / 1.655 GB, free: 98.21 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003994/2.94, allocations: 2.305 MB / 1.657 GB, free: 95.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/2.94, allocations: 3.984 kB / 1.657 GB, free: 95.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/2.943, allocations: 1.281 MB / 1.658 GB, free: 94.63 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/2.945, allocations: 0.5111 MB / 1.659 GB, free: 94.13 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007622/2.953, allocations: 4.496 MB / 1.663 GB, free: 89.59 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/2.954, allocations: 1.367 MB / 1.665 GB, free: 88.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002804/2.957, allocations: 0.7228 MB / 1.665 GB, free: 87.46 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005596/2.958, allocations: 159.4 kB / 1.665 GB, free: 87.31 MB / 0.8855 GB Notification: Performance of SimCode: time 2.956e-06/2.958, allocations: 4 kB / 1.665 GB, free: 87.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.05277/3.011, allocations: 28.28 MB / 1.693 GB, free: 59.25 MB / 0.8855 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