Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valAut100.m_flow|valAut75.m_flow|valAut50.m_flow|valAut33.m_flow|valAut25.m_flow|valAut50Ove.m_flow|valAut33Bal.m_flow|valAut100.dp|valAut75.dp|valAut50.dp|valAut33.dp|valAut25.dp|valAut50Ove.dp|valAut33Bal.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop") translateModel(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valAut100.m_flow|valAut75.m_flow|valAut50.m_flow|valAut33.m_flow|valAut25.m_flow|valAut50Ove.m_flow|valAut33Bal.m_flow|valAut100.dp|valAut75.dp|valAut50.dp|valAut33.dp|valAut25.dp|valAut50Ove.dp|valAut33Bal.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 111.1 kB / 16.42 MB, free: 6.52 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.001704/0.001704, allocations: 187.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 67.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8668/0.8683, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop): time 0.05823/0.9266, allocations: 58.37 MB / 1.224 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01871/0.9454, allocations: 13.57 MB / 1.238 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/0.9484, allocations: 63.56 kB / 1.238 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003006/0.9515, allocations: 0.8848 MB / 1.238 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008514/0.9601, allocations: 2.567 MB / 1.241 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00462/0.9647, allocations: 1.649 MB / 1.243 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006632/0.9714, allocations: 4.292 MB / 1.247 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002667/0.9741, allocations: 1.37 MB / 1.248 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00431/0.9784, allocations: 1.883 MB / 1.25 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.981, allocations: 1.291 MB / 1.251 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005553/0.9815, allocations: 112 kB / 1.251 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.9847, allocations: 1.1 MB / 1.252 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000618/0.9853, allocations: 350.4 kB / 1.253 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.9871, allocations: 0.9091 MB / 1.254 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004322/0.9914, allocations: 2.221 MB / 1.256 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.9914, allocations: 4 kB / 1.256 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9914, allocations: 0 / 1.256 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.461e-05/0.9915, allocations: 0 / 1.256 GB, free: 8.902 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004303/0.9958, allocations: 2.119 MB / 1.258 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.9959, allocations: 12.92 kB / 1.258 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005208/0.9964, allocations: 205.6 kB / 1.258 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.9988, allocations: 1.203 MB / 1.259 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.989e-05/0.9989, allocations: 81.94 kB / 1.259 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.9991, allocations: 104 kB / 1.259 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/1.001, allocations: 0.7373 MB / 1.26 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/1.001, allocations: 0 / 1.26 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.387e-05/1.001, allocations: 28 kB / 1.26 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/1.001, allocations: 20 kB / 1.26 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/1.002, allocations: 0.5505 MB / 1.261 GB, free: 3.734 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.005999/1.008, allocations: 4.042 MB / 1.265 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/1.009, allocations: 446.4 kB / 1.265 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/1.009, allocations: 226.5 kB / 1.265 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/1.009, allocations: 0.5068 MB / 1.266 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/1.009, allocations: 39 kB / 1.266 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=51): time 2.675e-06/1.009, allocations: 0 / 1.266 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=51): time 0.004506/1.014, allocations: 1.657 MB / 1.267 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/1.014, allocations: 55.84 kB / 1.268 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/1.016, allocations: 1.348 MB / 1.269 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/1.016, allocations: 49.7 kB / 1.269 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005724/1.017, allocations: 0.6874 MB / 1.27 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/1.017, allocations: 173.4 kB / 1.27 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/1.017, allocations: 174.5 kB / 1.27 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.017, allocations: 334 kB / 1.27 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/1.018, allocations: 199.9 kB / 1.27 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/1.018, allocations: 470.7 kB / 1.271 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000836/1.019, allocations: 462.8 kB / 1.271 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.019, allocations: 3.938 kB / 1.271 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002877/1.022, allocations: 1.054 MB / 1.272 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.022, allocations: 8 kB / 1.272 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.022, allocations: 144 / 1.272 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/1.024, allocations: 364.7 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/1.024, allocations: 115.8 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/1.027, allocations: 3.97 MB / 1.277 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.028, allocations: 123.7 kB / 1.277 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/1.028, allocations: 27.98 kB / 1.277 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007866/1.029, allocations: 385.3 kB / 1.277 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006148/1.03, allocations: 473.7 kB / 1.278 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007067/1.03, allocations: 450.8 kB / 1.278 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.387e-06/1.03, allocations: 7.875 kB / 1.278 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.00198/1.032, allocations: 0.8636 MB / 1.279 GB, free: 15.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.032, allocations: 4 kB / 1.279 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/1.032, allocations: 4 kB / 1.279 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/1.033, allocations: 217 kB / 1.279 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/1.033, allocations: 103.8 kB / 1.279 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/1.041, allocations: 9.88 MB / 1.289 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.042, allocations: 136.1 kB / 1.289 GB, free: 4.684 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.042, allocations: 24 kB / 1.289 GB, free: 4.66 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (60): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,5), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002981/1.043, allocations: 224.4 kB / 1.289 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/1.043, allocations: 158 kB / 1.289 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/1.045, allocations: 0.9215 MB / 1.29 GB, free: 3.332 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/1.045, allocations: 3.984 kB / 1.29 GB, free: 3.328 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.045, allocations: 0 / 1.29 GB, free: 3.328 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005404/1.046, allocations: 283 kB / 1.291 GB, free: 3.031 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/1.046, allocations: 16 kB / 1.291 GB, free: 3.016 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/1.047, allocations: 27.97 kB / 1.291 GB, free: 2.988 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/1.047, allocations: 56.47 kB / 1.291 GB, free: 2.934 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001652/1.048, allocations: 0.8088 MB / 1.291 GB, free: 2.098 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001549/1.05, allocations: 1.065 MB / 1.293 GB, free: 1.012 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003631/1.05, allocations: 212.3 kB / 1.293 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001261/1.052, allocations: 0.9013 MB / 1.294 GB, free: 15.91 MB / 1.029 GB Notification: Performance of Backend: time 5.91e-07/1.052, allocations: 0 / 1.294 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004268/1.056, allocations: 1.865 MB / 1.295 GB, free: 13.98 MB / 1.029 GB Notification: Performance of SimCode: time 0.005785/1.062, allocations: 3.355 MB / 1.299 GB, free: 10.57 MB / 1.029 GB Notification: Performance of Templates: time 0.05133/1.113, allocations: 30.11 MB / 1.328 GB, free: 12.86 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.makefile (rm -f Buildings_10_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; mkfifo Buildings_10_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe >> ../files/Buildings_10_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.sim & ./Buildings_10_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HydronicConfigurations_Examples_TwoWayOpenLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches