Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00157/0.00157, allocations: 115.1 kB / 16.42 MB, free: 6.496 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.001795/0.001796, allocations: 187.9 kB / 17.35 MB, free: 5.727 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 71.89 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.867/0.8683, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop): time 0.05216/0.9205, allocations: 58.37 MB / 1.265 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.9385, allocations: 13.58 MB / 1.279 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002871/0.9414, allocations: 59.56 kB / 1.279 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.9439, allocations: 0.8498 MB / 1.28 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006991/0.9509, allocations: 2.486 MB / 1.282 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004013/0.955, allocations: 1.628 MB / 1.284 GB, free: 384 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005882/0.9609, allocations: 4.275 MB / 1.288 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.9632, allocations: 1.378 MB / 1.289 GB, free: 10.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003933/0.9671, allocations: 1.872 MB / 1.291 GB, free: 8.797 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.9695, allocations: 1.295 MB / 1.292 GB, free: 7.496 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007592/0.9703, allocations: 119.9 kB / 1.292 GB, free: 7.379 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.9743, allocations: 1.092 MB / 1.293 GB, free: 6.285 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008087/0.9751, allocations: 354.4 kB / 1.294 GB, free: 5.938 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002217/0.9773, allocations: 0.8936 MB / 1.295 GB, free: 5.039 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004262/0.9816, allocations: 2.225 MB / 1.297 GB, free: 2.809 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9816, allocations: 4 kB / 1.297 GB, free: 2.805 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.557e-06/0.9816, allocations: 0 / 1.297 GB, free: 2.805 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.974e-05/0.9817, allocations: 3.938 kB / 1.297 GB, free: 2.801 MB / 1.014 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.004098/0.9858, allocations: 2.123 MB / 1.299 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.9859, allocations: 8.031 kB / 1.299 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004309/0.9863, allocations: 205.6 kB / 1.299 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.9886, allocations: 1.206 MB / 1.3 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.9886, allocations: 78 kB / 1.3 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.9888, allocations: 112 kB / 1.3 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.9901, allocations: 0.7257 MB / 1.301 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.9901, allocations: 0 / 1.301 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.958e-05/0.9902, allocations: 32 kB / 1.301 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.9902, allocations: 20 kB / 1.301 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.9912, allocations: 0.5465 MB / 1.302 GB, free: 13.63 MB / 1.029 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.005131/0.9964, allocations: 4.05 MB / 1.306 GB, free: 9.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007875/0.9972, allocations: 449.2 kB / 1.306 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.9976, allocations: 222.1 kB / 1.306 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004102/0.998, allocations: 0.503 MB / 1.307 GB, free: 7.895 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.9981, allocations: 42.98 kB / 1.307 GB, free: 7.844 MB / 1.029 GB Notification: Performance of pre-optimization done (n=51): time 2.295e-06/0.9981, allocations: 0 / 1.307 GB, free: 7.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=51): time 0.004351/1.002, allocations: 1.661 MB / 1.308 GB, free: 6.047 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/1.002, allocations: 59.84 kB / 1.309 GB, free: 5.977 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/1.004, allocations: 1.344 MB / 1.31 GB, free: 4.629 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-05/1.004, allocations: 49.7 kB / 1.31 GB, free: 4.574 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/1.005, allocations: 0.6835 MB / 1.311 GB, free: 3.883 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/1.005, allocations: 177.4 kB / 1.311 GB, free: 3.707 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/1.005, allocations: 170.5 kB / 1.311 GB, free: 3.535 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.005, allocations: 330 kB / 1.311 GB, free: 3.207 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/1.006, allocations: 203.9 kB / 1.311 GB, free: 3.008 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/1.006, allocations: 466.8 kB / 1.312 GB, free: 2.453 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000864/1.007, allocations: 467 kB / 1.312 GB, free: 1.988 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.007, allocations: 0 / 1.312 GB, free: 1.988 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002795/1.01, allocations: 1.054 MB / 1.313 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.01, allocations: 8 kB / 1.313 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.01, allocations: 3.938 kB / 1.313 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/1.012, allocations: 360.7 kB / 1.314 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/1.013, allocations: 115.9 kB / 1.314 GB, free: 420 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/1.015, allocations: 3.979 MB / 1.318 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/1.016, allocations: 119.6 kB / 1.318 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/1.016, allocations: 27.98 kB / 1.318 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007165/1.017, allocations: 393.2 kB / 1.318 GB, free: 11.71 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005995/1.018, allocations: 469.1 kB / 1.319 GB, free: 11.14 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007028/1.018, allocations: 446.7 kB / 1.319 GB, free: 10.67 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.252e-06/1.018, allocations: 7.984 kB / 1.319 GB, free: 10.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.001846/1.02, allocations: 0.8517 MB / 1.32 GB, free: 9.781 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.02, allocations: 8 kB / 1.32 GB, free: 9.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/1.02, allocations: 4 kB / 1.32 GB, free: 9.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/1.021, allocations: 213 kB / 1.32 GB, free: 9.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/1.021, allocations: 107.8 kB / 1.32 GB, free: 9.438 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007215/1.028, allocations: 9.879 MB / 1.33 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/1.03, allocations: 132.1 kB / 1.33 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-05/1.03, allocations: 27.98 kB / 1.33 GB, free: 14.56 MB / 1.061 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.0002647/1.03, allocations: 228.4 kB / 1.33 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/1.031, allocations: 150 kB / 1.33 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/1.032, allocations: 0.9332 MB / 1.331 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/1.032, allocations: 3.984 kB / 1.331 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.032, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004286/1.033, allocations: 279 kB / 1.332 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/1.033, allocations: 8 kB / 1.332 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/1.034, allocations: 39.95 kB / 1.332 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/1.034, allocations: 56.47 kB / 1.332 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001648/1.035, allocations: 0.8009 MB / 1.332 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001492/1.037, allocations: 1.061 MB / 1.333 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003574/1.037, allocations: 216.4 kB / 1.334 GB, free: 10.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001213/1.038, allocations: 0.9052 MB / 1.335 GB, free: 9.805 MB / 1.061 GB Notification: Performance of Backend: time 6.12e-07/1.039, allocations: 0 / 1.335 GB, free: 9.805 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004021/1.043, allocations: 1.855 MB / 1.336 GB, free: 7.879 MB / 1.061 GB Notification: Performance of SimCode: time 0.005488/1.048, allocations: 3.357 MB / 1.34 GB, free: 4.473 MB / 1.061 GB Notification: Performance of Templates: time 0.04888/1.097, allocations: 30.09 MB / 1.369 GB, free: 6.801 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.makefile (rm -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe >> ../files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.sim & ./Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HydronicConfigurations_Examples_TwoWayOpenLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches