Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 12 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.5661, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.1893/0.7555, allocations: 194.6 MB / 1.212 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.7677, allocations: 9.53 MB / 1.222 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009935/0.7687, allocations: 31.81 kB / 1.222 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.7702, allocations: 0.5514 MB / 1.222 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004955/0.7752, allocations: 2.096 MB / 1.224 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.7778, allocations: 0.981 MB / 1.225 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004111/0.7819, allocations: 3.869 MB / 1.229 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.783, allocations: 0.7569 MB / 1.23 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.7845, allocations: 0.9727 MB / 1.231 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.7859, allocations: 1.039 MB / 1.232 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.786, allocations: 59.94 kB / 1.232 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.7893, allocations: 1.344 MB / 1.233 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004352/0.7898, allocations: 434.7 kB / 1.234 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.7901, allocations: 285.1 kB / 1.234 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.7921, allocations: 1.835 MB / 1.236 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7921, allocations: 0 / 1.236 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7921, allocations: 0 / 1.236 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.7921, allocations: 0 / 1.236 GB, free: 5.039 MB / 0.9825 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.003374/0.7955, allocations: 1.566 MB / 1.237 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.7956, allocations: 8.562 kB / 1.237 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/0.7984, allocations: 434 kB / 1.238 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.7996, allocations: 0.809 MB / 1.238 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.7997, allocations: 81.98 kB / 1.238 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.7999, allocations: 103.9 kB / 1.239 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.8018, allocations: 1.19 MB / 1.24 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.8018, allocations: 0 / 1.24 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.775e-05/0.8019, allocations: 40 kB / 1.24 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/0.802, allocations: 53.98 kB / 1.24 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5021/1.304, allocations: 1.058 MB / 1.241 GB, free: 83.93 MB / 0.9825 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.006685/1.311, allocations: 4.746 MB / 1.246 GB, free: 81.35 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/1.312, allocations: 0.9746 MB / 1.246 GB, free: 81.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/1.314, allocations: 0.5569 MB / 1.247 GB, free: 81.12 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005011/1.314, allocations: 0.6815 MB / 1.248 GB, free: 80.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/1.314, allocations: 44.81 kB / 1.248 GB, free: 80.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.736e-06/1.314, allocations: 0 / 1.248 GB, free: 80.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.004794/1.319, allocations: 2.291 MB / 1.25 GB, free: 79.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/1.319, allocations: 63.98 kB / 1.25 GB, free: 79.78 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009554/1.32, allocations: 0.6287 MB / 1.251 GB, free: 79.65 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/1.32, allocations: 41.02 kB / 1.251 GB, free: 79.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/1.32, allocations: 460.4 kB / 1.251 GB, free: 79.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/1.321, allocations: 297 kB / 1.251 GB, free: 79.22 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/1.321, allocations: 14 kB / 1.251 GB, free: 79.22 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.321, allocations: 395.2 kB / 1.252 GB, free: 78.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000585/1.321, allocations: 322.5 kB / 1.252 GB, free: 78.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/1.322, allocations: 423.7 kB / 1.252 GB, free: 78.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/1.323, allocations: 381.1 kB / 1.253 GB, free: 78.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.323, allocations: 1.375 kB / 1.253 GB, free: 78.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001633/1.324, allocations: 0.9406 MB / 1.254 GB, free: 78.71 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.324, allocations: 6.312 kB / 1.254 GB, free: 78.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.324, allocations: 2.953 kB / 1.254 GB, free: 78.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/1.325, allocations: 61.17 kB / 1.254 GB, free: 78.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007579/1.325, allocations: 159.3 kB / 1.254 GB, free: 78.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003867/1.326, allocations: 0.6129 MB / 1.255 GB, free: 78.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.327, allocations: 104 kB / 1.255 GB, free: 78.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/1.327, allocations: 30.48 kB / 1.255 GB, free: 78.17 MB / 0.9825 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 (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.0005169/1.327, allocations: 299.5 kB / 1.255 GB, free: 78.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/1.328, allocations: 95.39 kB / 1.255 GB, free: 78.01 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/1.33, allocations: 0.9239 MB / 1.256 GB, free: 77.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.33, allocations: 11.98 kB / 1.256 GB, free: 77.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.33, allocations: 0.5312 kB / 1.256 GB, free: 77.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001529/1.331, allocations: 0.9265 MB / 1.257 GB, free: 77.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/1.335, allocations: 2.113 MB / 1.259 GB, free: 77.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.335, allocations: 3.094 kB / 1.259 GB, free: 77.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009408/1.336, allocations: 198.9 kB / 1.259 GB, free: 77.33 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/1.336, allocations: 2.25 kB / 1.259 GB, free: 77.33 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/1.336, allocations: 18.2 kB / 1.259 GB, free: 77.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.336, allocations: 2.438 kB / 1.259 GB, free: 77.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.336, allocations: 0.6094 kB / 1.259 GB, free: 77.33 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/1.338, allocations: 1.383 MB / 1.261 GB, free: 77.12 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/1.338, allocations: 248.9 kB / 1.261 GB, free: 76.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/1.338, allocations: 23.3 kB / 1.261 GB, free: 76.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008188/1.339, allocations: 80.81 kB / 1.261 GB, free: 76.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/1.339, allocations: 51.45 kB / 1.261 GB, free: 76.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/1.339, allocations: 27.03 kB / 1.261 GB, free: 76.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005713/1.34, allocations: 452.2 kB / 1.261 GB, free: 76.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/1.34, allocations: 0 / 1.261 GB, free: 76.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009672/1.341, allocations: 321.5 kB / 1.262 GB, free: 76.88 MB / 0.9825 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.0003341/1.341, allocations: 215.9 kB / 1.262 GB, free: 76.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001391/1.343, allocations: 0.8064 MB / 1.263 GB, free: 76.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.343, allocations: 2.906 kB / 1.263 GB, free: 76.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006431/1.343, allocations: 435 kB / 1.263 GB, free: 76.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/1.346, allocations: 0.5679 MB / 1.264 GB, free: 76.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/1.35, allocations: 2.844 MB / 1.266 GB, free: 75.33 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/1.351, allocations: 1.126 MB / 1.268 GB, free: 74.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00116/1.352, allocations: 250.2 kB / 1.268 GB, free: 74.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/1.352, allocations: 84.03 kB / 1.268 GB, free: 74.54 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/1.352, allocations: 0 / 1.268 GB, free: 74.54 MB / 0.9825 GB Notification: Performance of Templates: time 0.02739/1.379, allocations: 18.83 MB / 1.286 GB, free: 71.95 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches