Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, allocations: 249.5 MB / 257 MB, free: 6.91 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.001035/0.001035, allocations: 172.9 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008794/0.0008796, allocations: 85.53 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.427e-05/1.428e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2096, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.493/6.702, allocations: 2.195 GB / 3.081 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/6.703, allocations: 88.75 kB / 3.081 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.629/9.331, allocations: 0.7699 GB / 3.851 GB, free: 56.39 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.583e-06/9.331, allocations: 0 / 3.851 GB, free: 56.39 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.097e-05/9.331, allocations: 24 kB / 3.851 GB, free: 56.37 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.004463/9.336, allocations: 1.587 MB / 3.852 GB, free: 54.73 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/9.336, allocations: 15.97 kB / 3.852 GB, free: 54.72 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002998/9.339, allocations: 414.6 kB / 3.853 GB, free: 54.31 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/9.341, allocations: 0.8868 MB / 3.853 GB, free: 53.38 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/9.341, allocations: 32 kB / 3.853 GB, free: 53.35 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/9.341, allocations: 67.89 kB / 3.854 GB, free: 53.29 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001392/9.342, allocations: 0.8864 MB / 3.854 GB, free: 52.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/9.344, allocations: 1.039 MB / 3.855 GB, free: 51.32 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/9.344, allocations: 0 / 3.855 GB, free: 51.32 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.754e-05/9.344, allocations: 0 / 3.855 GB, free: 51.32 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/9.344, allocations: 53.92 kB / 3.855 GB, free: 51.26 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.004809/9.349, allocations: 4.834 MB / 3.86 GB, free: 46.04 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/9.35, allocations: 0.8932 MB / 3.861 GB, free: 45.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000713/9.35, allocations: 0.5394 MB / 3.862 GB, free: 44.55 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005028/9.351, allocations: 0.6851 MB / 3.862 GB, free: 43.72 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/9.351, allocations: 43.34 kB / 3.862 GB, free: 43.67 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=82): time 3.667e-06/9.351, allocations: 0 / 3.862 GB, free: 43.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=83): time 0.003939/9.355, allocations: 2.004 MB / 3.864 GB, free: 41.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/9.355, allocations: 68.12 kB / 3.864 GB, free: 41.54 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/9.356, allocations: 495.7 kB / 3.865 GB, free: 41.05 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/9.356, allocations: 25.7 kB / 3.865 GB, free: 41.02 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/9.356, allocations: 460 kB / 3.865 GB, free: 40.56 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/9.356, allocations: 283.7 kB / 3.866 GB, free: 40.28 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/9.356, allocations: 0 / 3.866 GB, free: 40.28 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001319/9.356, allocations: 394.7 kB / 3.866 GB, free: 39.88 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/9.357, allocations: 321.5 kB / 3.866 GB, free: 39.57 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/9.357, allocations: 463.7 kB / 3.867 GB, free: 39.07 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005977/9.358, allocations: 408.3 kB / 3.867 GB, free: 38.67 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/9.358, allocations: 0 / 3.867 GB, free: 38.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001427/9.359, allocations: 0.9451 MB / 3.868 GB, free: 37.71 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/9.359, allocations: 4 kB / 3.868 GB, free: 37.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/9.359, allocations: 4 kB / 3.868 GB, free: 37.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/9.359, allocations: 48.84 kB / 3.868 GB, free: 37.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/9.36, allocations: 172 kB / 3.868 GB, free: 37.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000452/9.361, allocations: 0.607 MB / 3.869 GB, free: 36.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/9.362, allocations: 83.67 kB / 3.869 GB, free: 36.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/9.362, allocations: 35.94 kB / 3.869 GB, free: 36.74 MB / 0.8698 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.0002027/9.362, allocations: 116.8 kB / 3.869 GB, free: 36.62 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/9.362, allocations: 83.06 kB / 3.869 GB, free: 36.54 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/9.364, allocations: 0.9312 MB / 3.87 GB, free: 35.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/9.364, allocations: 8 kB / 3.87 GB, free: 35.59 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/9.364, allocations: 4 kB / 3.87 GB, free: 35.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001054/9.365, allocations: 0.9456 MB / 3.871 GB, free: 34.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/9.368, allocations: 2.077 MB / 3.873 GB, free: 32.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/9.368, allocations: 0 / 3.873 GB, free: 32.47 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009362/9.369, allocations: 207.9 kB / 3.873 GB, free: 32.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/9.369, allocations: 11.94 kB / 3.873 GB, free: 32.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/9.369, allocations: 11.98 kB / 3.873 GB, free: 32.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/9.369, allocations: 7.953 kB / 3.873 GB, free: 32.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/9.369, allocations: 0 / 3.873 GB, free: 32.23 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/9.371, allocations: 1.513 MB / 3.875 GB, free: 30.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005859/9.371, allocations: 271.9 kB / 3.875 GB, free: 30.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/9.371, allocations: 4 kB / 3.875 GB, free: 30.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/9.373, allocations: 75.77 kB / 3.875 GB, free: 30.34 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/9.373, allocations: 48.67 kB / 3.875 GB, free: 30.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/9.373, allocations: 35.97 kB / 3.875 GB, free: 30.26 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005211/9.373, allocations: 383.2 kB / 3.875 GB, free: 29.89 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/9.373, allocations: 0 / 3.875 GB, free: 29.89 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001567/9.375, allocations: 439.9 kB / 3.876 GB, free: 29.46 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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.002897/9.378, allocations: 2.235 MB / 3.878 GB, free: 27.11 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001315/9.379, allocations: 0.825 MB / 3.879 GB, free: 26.29 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/9.379, allocations: 0 / 3.879 GB, free: 26.29 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004913/9.38, allocations: 451.2 kB / 3.879 GB, free: 25.85 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/9.382, allocations: 0.5095 MB / 3.88 GB, free: 25.36 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/9.386, allocations: 1.879 MB / 3.882 GB, free: 23.45 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000785/9.387, allocations: 1.152 MB / 3.883 GB, free: 22.27 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001292/9.388, allocations: 259.3 kB / 3.883 GB, free: 22.01 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/9.388, allocations: 87.41 kB / 3.883 GB, free: 21.92 MB / 0.8698 GB Notification: Performance of SimCode: time 1.874e-06/9.388, allocations: 4 kB / 3.883 GB, free: 21.92 MB / 0.8698 GB Notification: Performance of Templates: time 0.0467/9.435, allocations: 28.98 MB / 3.911 GB, free: 9.066 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_OneRoom.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches